Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.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.001866/0.001866, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002219/0.002219, allocations: 161.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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.385/1.385, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.731/2.731, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.91 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7572, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002666/0.7599, allocations: 2.134 MB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.9095, allocations: 132.4 MB / 1.285 GB, free: 6.754 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.9097, allocations: 6.688 kB / 1.285 GB, free: 6.75 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.9107, allocations: 0.7839 MB / 1.286 GB, free: 6.668 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000799/0.9115, allocations: 0.5271 MB / 1.287 GB, free: 6.543 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.9123, allocations: 335 kB / 1.287 GB, free: 6.379 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.9129, allocations: 0.5948 MB / 1.287 GB, free: 6.164 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.9131, allocations: 52.64 kB / 1.287 GB, free: 6.145 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.9142, allocations: 370.5 kB / 1.288 GB, free: 6.047 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.9148, allocations: 0.5171 MB / 1.288 GB, free: 5.969 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.9149, allocations: 28.97 kB / 1.288 GB, free: 5.965 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.9154, allocations: 286.4 kB / 1.289 GB, free: 5.895 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.9156, allocations: 195.5 kB / 1.289 GB, free: 5.812 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.9158, allocations: 191.2 kB / 1.289 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.9168, allocations: 0.7671 MB / 1.29 GB, free: 5.379 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.9168, allocations: 4 kB / 1.29 GB, free: 5.375 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9168, allocations: 1.312 kB / 1.29 GB, free: 5.375 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.9168, allocations: 3.938 kB / 1.29 GB, free: 5.371 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001713/0.9185, allocations: 1.042 MB / 1.291 GB, free: 4.621 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.9185, allocations: 12.62 kB / 1.291 GB, free: 4.617 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.9203, allocations: 214.8 kB / 1.291 GB, free: 4.559 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.9209, allocations: 431.9 kB / 1.291 GB, free: 4.242 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.9209, allocations: 21.09 kB / 1.291 GB, free: 4.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.9209, allocations: 16.56 kB / 1.291 GB, free: 4.227 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00097/0.9219, allocations: 346.8 kB / 1.292 GB, free: 4.082 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9219, allocations: 1.125 kB / 1.292 GB, free: 4.082 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.922, allocations: 7.375 kB / 1.292 GB, free: 4.078 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.922, allocations: 3.625 kB / 1.292 GB, free: 4.078 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.9234, allocations: 358.4 kB / 1.292 GB, free: 3.984 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.9255, allocations: 1.014 MB / 1.293 GB, free: 3.379 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.9268, allocations: 402.5 kB / 1.293 GB, free: 3.219 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.9275, allocations: 204 kB / 1.294 GB, free: 3.141 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.9275, allocations: 4.672 kB / 1.294 GB, free: 3.141 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008954/0.9284, allocations: 315.2 kB / 1.294 GB, free: 3.004 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.9284, allocations: 0 / 1.294 GB, free: 3.004 MB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.009317/0.9377, allocations: 1.171 MB / 1.295 GB, free: 2.484 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.9378, allocations: 88.55 kB / 1.295 GB, free: 2.383 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.9393, allocations: 1.376 MB / 1.297 GB, free: 1.758 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.9393, allocations: 33.02 kB / 1.297 GB, free: 1.723 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.9397, allocations: 374 kB / 1.297 GB, free: 1.398 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.9398, allocations: 101.5 kB / 1.297 GB, free: 1.312 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.9399, allocations: 66.8 kB / 1.297 GB, free: 1.266 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9401, allocations: 317.5 kB / 1.297 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.9408, allocations: 185.7 kB / 1.298 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.9415, allocations: 286.9 kB / 1.298 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.943, allocations: 404.9 kB / 1.298 GB, free: 432 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.943, allocations: 0.8438 kB / 1.298 GB, free: 432 kB / 1.139 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004235/0.9472, allocations: 0.7393 MB / 1.299 GB, free: 32 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9472, allocations: 6.188 kB / 1.299 GB, free: 32 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9472, allocations: 1.375 kB / 1.299 GB, free: 32 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.9483, allocations: 176.3 kB / 1.299 GB, free: 15.94 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.9487, allocations: 60.92 kB / 1.299 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008239/0.9569, allocations: 2.17 MB / 1.301 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.9574, allocations: 41.38 kB / 1.301 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.9574, allocations: 17.69 kB / 1.301 GB, free: 14.16 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.9578, allocations: 296.5 kB / 1.302 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.9579, allocations: 83.75 kB / 1.302 GB, free: 13.92 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.9624, allocations: 0.8549 MB / 1.303 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9624, allocations: 8.641 kB / 1.303 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.9624, allocations: 0 / 1.303 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9624, allocations: 1.125 kB / 1.303 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.9631, allocations: 499 kB / 1.303 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9631, allocations: 1.438 kB / 1.303 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.9634, allocations: 63.81 kB / 1.303 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.9644, allocations: 178.5 kB / 1.303 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.9645, allocations: 17.3 kB / 1.303 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008043/0.9725, allocations: 2.16 MB / 1.305 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9725, allocations: 4.062 kB / 1.305 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.9768, allocations: 0.8036 MB / 1.306 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.9769, allocations: 76.75 kB / 1.306 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.977, allocations: 11.41 kB / 1.306 GB, free: 10.76 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.9775, allocations: 26.22 kB / 1.306 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.9775, allocations: 27.23 kB / 1.306 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.9776, allocations: 26.06 kB / 1.306 GB, free: 10.72 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001098/0.9787, allocations: 1.024 MB / 1.307 GB, free: 10.25 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.9787, allocations: 5.031 kB / 1.307 GB, free: 10.24 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004936/0.9792, allocations: 121.6 kB / 1.307 GB, free: 10.22 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/0.9809, allocations: 474 kB / 1.308 GB, free: 9.996 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.9828, allocations: 0.5576 MB / 1.308 GB, free: 9.668 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.9828, allocations: 0 / 1.308 GB, free: 9.668 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.9838, allocations: 369.9 kB / 1.309 GB, free: 9.43 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.9845, allocations: 118.8 kB / 1.309 GB, free: 9.363 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.9872, allocations: 1.652 MB / 1.311 GB, free: 7.918 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.9876, allocations: 375.5 kB / 1.311 GB, free: 7.527 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000294/0.9879, allocations: 86.91 kB / 1.311 GB, free: 7.441 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.988, allocations: 44.48 kB / 1.311 GB, free: 7.398 MB / 1.154 GB Notification: Performance of SimCode: time 4.7e-07/0.988, allocations: 0 / 1.311 GB, free: 7.398 MB / 1.154 GB Notification: Performance of Templates: time 0.01845/1.006, allocations: 10.69 MB / 1.321 GB, free: 12.84 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.753246632986702]