Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001011/0.001011, allocations: 83.58 kB / 20.45 MB, free: 4.113 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.000955/0.000955, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.001/1.001, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.985/1.985, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8116 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.285e-05, allocations: 10.25 kB / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001822/0.001845, allocations: 0.6886 MB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003102, allocations: 0.8787 MB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.003141, allocations: 0 / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.003175, allocations: 4.844 kB / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.003244, allocations: 0 / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.003443, allocations: 32.5 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.003547, allocations: 35.94 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.00366, allocations: 0.5 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.003754, allocations: 21.2 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.003804, allocations: 11.98 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.003827, allocations: 4 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.003839, allocations: 4.875 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.003861, allocations: 11.92 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.003892, allocations: 7.906 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.219e-05/0.003984, allocations: 25.09 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003986, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003986, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.003992, allocations: 1.531 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004332/0.004425, allocations: 372.6 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.004467, allocations: 8.031 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.004509, allocations: 6.469 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.004607, allocations: 112.5 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.004621, allocations: 4.375 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.004635, allocations: 384 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.004805, allocations: 68.7 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.00482, allocations: 192 / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.004831, allocations: 384 / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.00484, allocations: 4.312 kB / 0.8138 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.004886, allocations: 17.23 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.005252, allocations: 255.8 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.005342, allocations: 44.25 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.005371, allocations: 11.67 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.005394, allocations: 4.062 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.00542, allocations: 33.39 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005421, allocations: 0.6875 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.005605, allocations: 46.2 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.005639, allocations: 57.38 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.005735, allocations: 166.1 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.00575, allocations: 25.7 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.005818, allocations: 134.9 kB / 0.8146 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.005835, allocations: 3.953 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.005983, allocations: 19.91 kB / 0.8146 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.006117, allocations: 0.4884 MB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.006148, allocations: 12.41 kB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.006202, allocations: 54.59 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.006244, allocations: 15.69 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.006247, allocations: 4 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.752e-05/0.006335, allocations: 46.2 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.006348, allocations: 9 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.006354, allocations: 3.938 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.006371, allocations: 0 / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.006459, allocations: 8.75 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.006466, allocations: 3.984 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.006505, allocations: 8.594 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.00651, allocations: 1.281 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.486e-05/0.006565, allocations: 134.9 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.498e-05/0.0066, allocations: 45.06 kB / 0.8154 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.329e-05/0.006624, allocations: 12.5 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.91e-07/0.006624, allocations: 4.938 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 7.042e-05/0.006694, allocations: 41.64 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.006701, allocations: 5.312 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.006702, allocations: 3.938 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-06/0.006705, allocations: 3.938 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.006737, allocations: 8.953 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.00674, allocations: 7.984 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.006768, allocations: 6.312 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-06/0.00677, allocations: 0 / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.504e-05/0.006865, allocations: 264.1 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.006892, allocations: 7.953 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.006923, allocations: 15.55 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006925, allocations: 0 / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.006929, allocations: 3.438 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006932, allocations: 0 / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.00707, allocations: 124.6 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007071, allocations: 0 / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.007112, allocations: 8 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.007113, allocations: 0 / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.00712, allocations: 0 / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.007123, allocations: 7.922 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.007126, allocations: 3.938 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.007248, allocations: 184.8 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.007254, allocations: 0 / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.007267, allocations: 4.484 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.007331, allocations: 12.5 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.007366, allocations: 4.562 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007371, allocations: 3.984 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.007416, allocations: 128.1 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007416, allocations: 0 / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003292/0.007746, allocations: 13.05 kB / 0.8163 GB, free: 12.57 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 (2): * Single equations (assignments): 2 * 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 9.269e-05/0.007838, allocations: 91.25 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.007968, allocations: 36.52 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.00797, allocations: 4 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.007996, allocations: 16.88 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.008267, allocations: 11.95 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.00858, allocations: 114.4 kB / 0.8165 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.008622, allocations: 59.28 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.008647, allocations: 4 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.008682, allocations: 12.44 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of SimCode: time 4.8e-07/0.008682, allocations: 3.938 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.002192/0.01087, allocations: 0.6628 MB / 0.8173 GB, free: 11.52 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.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.255364940967411]