Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.979/0.979, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.971/1.971, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.785e-05, allocations: 7.156 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001042/0.00106, allocations: 0.628 MB / 0.8127 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.001315, allocations: 61.45 kB / 0.8127 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.001339, allocations: 0 / 0.8127 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.001378, allocations: 7.984 kB / 0.8127 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.001421, allocations: 4.969 kB / 0.8127 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.001706, allocations: 48.7 kB / 0.8128 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.001765, allocations: 27.91 kB / 0.8128 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.0018, allocations: 1.688 kB / 0.8128 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.001844, allocations: 23.97 kB / 0.8128 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.002009, allocations: 71.84 kB / 0.8129 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.002021, allocations: 0 / 0.8129 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.002103, allocations: 39.95 kB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.002135, allocations: 21.5 kB / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.002154, allocations: 15.94 kB / 0.813 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.002269, allocations: 75.72 kB / 0.8131 GB, free: 380 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002271, allocations: 0 / 0.8131 GB, free: 380 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.212e-06/0.002272, allocations: 5.375 kB / 0.8131 GB, free: 376 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002276, allocations: 0 / 0.8131 GB, free: 376 kB / 0.7605 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.0005649/0.002841, allocations: 392.5 kB / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.002874, allocations: 9.781 kB / 0.8134 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.002898, allocations: 8.891 kB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5e-05/0.002948, allocations: 112.6 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.002958, allocations: 8.297 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.002967, allocations: 8.375 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.003142, allocations: 382.4 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.003149, allocations: 5.156 kB / 0.814 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.00316, allocations: 8.125 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.003194, allocations: 23.98 kB / 0.814 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.003218, allocations: 20.42 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.003726, allocations: 1.186 MB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.003805, allocations: 265.4 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.003835, allocations: 126.9 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.003862, allocations: 119.2 kB / 0.8156 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.003907, allocations: 167.1 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003908, allocations: 0 / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.45e-05/0.003962, allocations: 49.56 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.004069, allocations: 427.6 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.004175, allocations: 231.4 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.004185, allocations: 25.7 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.004258, allocations: 206.2 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.004262, allocations: 4.516 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.004312, allocations: 67.95 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.00442, allocations: 0.4923 MB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.004431, allocations: 8.516 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.004633, allocations: 0.5484 MB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.004768, allocations: 248.6 kB / 0.818 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.00477, allocations: 0 / 0.818 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001627/0.004933, allocations: 170.1 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004944, allocations: 8 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.004951, allocations: 4 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.004962, allocations: 9.5 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.005037, allocations: 39.91 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005043, allocations: 11.94 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.005096, allocations: 27.84 kB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.005106, allocations: 12.5 kB / 0.8183 GB, free: 10.37 MB / 0.7761 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 9.879e-05/0.005204, allocations: 296.3 kB / 0.8186 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.005262, allocations: 162.7 kB / 0.8187 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.005314, allocations: 160.7 kB / 0.8189 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-05/0.005372, allocations: 268.1 kB / 0.8192 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-05/0.005435, allocations: 268 kB / 0.8194 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-05/0.005497, allocations: 264.1 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.005935, allocations: 0.4939 MB / 0.8201 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.005964, allocations: 144.9 kB / 0.8203 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.005998, allocations: 148.9 kB / 0.8204 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.182e-05/0.00605, allocations: 272 kB / 0.8207 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.006103, allocations: 265.1 kB / 0.8209 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.576e-05/0.006169, allocations: 272 kB / 0.8212 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.599e-05/0.006235, allocations: 264.7 kB / 0.8214 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.006362, allocations: 459.8 kB / 0.8219 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.0064, allocations: 152.6 kB / 0.822 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.006462, allocations: 272 kB / 0.8223 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.006517, allocations: 148.9 kB / 0.8224 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.006578, allocations: 276 kB / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.006609, allocations: 144.9 kB / 0.8228 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.006654, allocations: 145.4 kB / 0.823 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006654, allocations: 0 / 0.823 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001937/0.006848, allocations: 28 kB / 0.823 GB, free: 5.387 MB / 0.7761 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.0001226/0.00697, allocations: 236 kB / 0.8232 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.007061, allocations: 73.45 kB / 0.8233 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.007063, allocations: 4 kB / 0.8233 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.007066, allocations: 9.062 kB / 0.8233 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.007336, allocations: 0.714 MB / 0.824 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.007535, allocations: 277.7 kB / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.00757, allocations: 61.09 kB / 0.8243 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.325e-05/0.007643, allocations: 29.08 kB / 0.8244 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.007773, allocations: 138.2 kB / 0.8245 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.007773, allocations: 0 / 0.8245 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of Templates: time 0.003029/0.0108, allocations: 1.855 MB / 0.8263 GB, free: 2.012 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068599636666477]