Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 102.8 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7116, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001467/0.7132, allocations: 0.6045 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.7135, allocations: 67.84 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.7135, allocations: 0 / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.7135, allocations: 7.938 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.7136, allocations: 3.984 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.7139, allocations: 51.88 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.7139, allocations: 23.92 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.714, allocations: 4 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.714, allocations: 11.98 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.7142, allocations: 67.88 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.7142, allocations: 0 / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-05/0.7143, allocations: 35.95 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.7143, allocations: 19.98 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.7143, allocations: 19.81 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.7145, allocations: 75.3 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7145, allocations: 4 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.46e-06/0.7145, allocations: 0 / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.7145, allocations: 3.938 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003633/0.7149, allocations: 360.3 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.7149, allocations: 8.031 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.7149, allocations: 8.891 kB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.7151, allocations: 172.3 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7151, allocations: 4.359 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.7151, allocations: 8.359 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.7154, allocations: 180.5 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7154, allocations: 0 / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.7154, allocations: 7.984 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.7154, allocations: 27.91 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.7155, allocations: 35.92 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.7162, allocations: 0.9024 MB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.7163, allocations: 169.1 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.7163, allocations: 80.14 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.7164, allocations: 79.28 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/0.7164, allocations: 109.8 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.7164, allocations: 0 / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.877e-05/0.7165, allocations: 45.58 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/0.7167, allocations: 387.7 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.7169, allocations: 163 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.7169, allocations: 33.7 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.717, allocations: 151.5 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.717, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.7171, allocations: 53.66 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7173, allocations: 326.8 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.7173, allocations: 27.98 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.7175, allocations: 220.4 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.7177, allocations: 209.7 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7177, allocations: 4 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002901/0.718, allocations: 185.4 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7181, allocations: 10.81 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7181, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7181, allocations: 11.94 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7182, allocations: 43.92 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7182, allocations: 7.938 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.7183, allocations: 28.27 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.7183, allocations: 12 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.7185, allocations: 219.1 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.7186, allocations: 112.9 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.7186, allocations: 115.3 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.526e-05/0.7187, allocations: 188.1 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.623e-05/0.7188, allocations: 176.3 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-05/0.7189, allocations: 184.3 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.7191, allocations: 421.2 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.7192, allocations: 112.9 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.7192, allocations: 108.9 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/0.7193, allocations: 180.3 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.569e-05/0.7194, allocations: 184.2 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.951e-05/0.7195, allocations: 184.2 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.958e-05/0.7195, allocations: 176.3 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.7197, allocations: 311.7 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.7198, allocations: 198 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.7199, allocations: 180.3 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.72, allocations: 112.9 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.7201, allocations: 180.2 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.7202, allocations: 101 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.7203, allocations: 120.9 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7203, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002811/0.7206, allocations: 28 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000207/0.7208, allocations: 186.5 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.7209, allocations: 76.78 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7209, allocations: 0 / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.7209, allocations: 4.578 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.7213, allocations: 463.7 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.7216, allocations: 228.6 kB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.722, allocations: 0.6929 MB / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.7222, allocations: 56.59 kB / 1.177 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.7222, allocations: 15.44 kB / 1.177 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of SimCode: time 2.425e-06/0.7222, allocations: 0 / 1.177 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.004107/0.7263, allocations: 1.687 MB / 1.179 GB, free: 7.164 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches