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.00104/0.00104, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001255/0.001255, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 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.9382/0.9382, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.827/1.827, allocations: 377.8 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.752e-05, allocations: 3.5 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001891/0.001919, allocations: 0.6244 MB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.002184, allocations: 63.86 kB / 0.8123 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.002207, allocations: 0 / 0.8123 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.002247, allocations: 8.594 kB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.002293, allocations: 9.172 kB / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.002652, allocations: 46.38 kB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.00271, allocations: 27.91 kB / 0.8124 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.104e-05/0.002741, allocations: 0 / 0.8124 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.002779, allocations: 27.91 kB / 0.8124 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.002947, allocations: 71.91 kB / 0.8125 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.002961, allocations: 0 / 0.8125 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.003042, allocations: 39.94 kB / 0.8125 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.003073, allocations: 20.77 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.003093, allocations: 15.98 kB / 0.8125 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003208, allocations: 68.33 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00321, allocations: 4.781 kB / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003211, allocations: 0 / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.003215, allocations: 1.156 kB / 0.8126 GB, free: 0.6992 MB / 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.000278/0.003493, allocations: 392.5 kB / 0.813 GB, free: 284 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.003525, allocations: 8.031 kB / 0.813 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.003563, allocations: 10.42 kB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.5e-05/0.003618, allocations: 120.5 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-06/0.003627, allocations: 384 / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.003642, allocations: 12.36 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.003862, allocations: 385.9 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003869, allocations: 2.125 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.003882, allocations: 12.11 kB / 0.8135 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.003924, allocations: 23.98 kB / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.003959, allocations: 31.83 kB / 0.8135 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.004472, allocations: 1.204 MB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.004547, allocations: 270.8 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.004575, allocations: 126.9 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.004597, allocations: 119.2 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.004638, allocations: 161.6 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.004639, allocations: 0 / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.587e-05/0.004695, allocations: 41.64 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.004802, allocations: 440 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.004948, allocations: 227.4 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.00496, allocations: 30.23 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.005029, allocations: 203.1 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/0.005034, allocations: 7.984 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.005079, allocations: 59.31 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.005177, allocations: 0.4931 MB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.005196, allocations: 15.92 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.00539, allocations: 0.5484 MB / 0.8174 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.005529, allocations: 240.4 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.005532, allocations: 4 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001878/0.00572, allocations: 179 kB / 0.8178 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.005734, allocations: 8 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005739, allocations: 4 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.005753, allocations: 8 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.005837, allocations: 35.92 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.005846, allocations: 8.5 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.005898, allocations: 28.91 kB / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.005909, allocations: 19.88 kB / 0.8179 GB, free: 10.65 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.593e-05/0.006005, allocations: 297 kB / 0.8182 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.00605, allocations: 156.8 kB / 0.8183 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.006093, allocations: 160.8 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.921e-05/0.006142, allocations: 268 kB / 0.8187 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.925e-05/0.006191, allocations: 269.2 kB / 0.819 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001405/0.006332, allocations: 276 kB / 0.8192 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.006485, allocations: 0.5083 MB / 0.8197 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/0.006512, allocations: 144.9 kB / 0.8199 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.006541, allocations: 155.2 kB / 0.82 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.138e-05/0.006593, allocations: 264.1 kB / 0.8203 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.006645, allocations: 272 kB / 0.8205 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.123e-05/0.006696, allocations: 268.1 kB / 0.8208 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.096e-05/0.006747, allocations: 268.1 kB / 0.821 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.006859, allocations: 455.8 kB / 0.8215 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.006894, allocations: 155.9 kB / 0.8216 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.006954, allocations: 272.1 kB / 0.8219 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.007007, allocations: 152.8 kB / 0.822 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.007061, allocations: 268 kB / 0.8223 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.00709, allocations: 152.9 kB / 0.8224 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.007138, allocations: 149.9 kB / 0.8226 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007138, allocations: 0 / 0.8226 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000204/0.007342, allocations: 28 kB / 0.8226 GB, free: 5.621 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.0001267/0.007469, allocations: 231.2 kB / 0.8228 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.00758, allocations: 74.78 kB / 0.8229 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.007583, allocations: 4 kB / 0.8229 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.007584, allocations: 1.219 kB / 0.8229 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.007856, allocations: 0.7179 MB / 0.8236 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.008085, allocations: 273.7 kB / 0.8239 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.008123, allocations: 69.03 kB / 0.8239 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.008223, allocations: 57.61 kB / 0.824 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.008239, allocations: 16.5 kB / 0.824 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.00824, allocations: 0 / 0.824 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.003171/0.01141, allocations: 1.988 MB / 0.8259 GB, free: 2.219 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: 4.991975951939821]