Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001341/0.001341, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001484/0.001484, allocations: 222.9 kB / 23 MB, free: 4.91 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.341/3.341, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002074/0.002074, allocations: 68.08 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004788/0.4217, allocations: 2.134 MB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1847/0.6064, allocations: 132.4 MB / 1.496 GB, free: 6.578 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.6066, allocations: 7.938 kB / 1.496 GB, free: 6.57 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.6078, allocations: 0.7756 MB / 1.497 GB, free: 5.793 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.6088, allocations: 0.5297 MB / 1.497 GB, free: 5.262 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.6097, allocations: 338.8 kB / 1.498 GB, free: 4.93 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.6106, allocations: 0.5887 MB / 1.498 GB, free: 4.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.6108, allocations: 56.89 kB / 1.498 GB, free: 4.285 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.6122, allocations: 367.2 kB / 1.499 GB, free: 3.941 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/0.6129, allocations: 0.5347 MB / 1.499 GB, free: 3.406 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.613, allocations: 24 kB / 1.499 GB, free: 3.383 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.6136, allocations: 287.6 kB / 1.499 GB, free: 3.102 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.6138, allocations: 187.7 kB / 1.5 GB, free: 2.918 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.6141, allocations: 198.4 kB / 1.5 GB, free: 2.723 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.6152, allocations: 0.77 MB / 1.5 GB, free: 1.949 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6152, allocations: 3.938 kB / 1.5 GB, free: 1.945 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6152, allocations: 0 / 1.5 GB, free: 1.945 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.6152, allocations: 0 / 1.5 GB, free: 1.945 MB / 1.186 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.001919/0.6171, allocations: 1.043 MB / 1.501 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6172, allocations: 8.031 kB / 1.501 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.619, allocations: 235.3 kB / 1.502 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.6196, allocations: 433.3 kB / 1.502 GB, free: 180 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.6197, allocations: 12.38 kB / 1.502 GB, free: 168 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.6197, allocations: 20 kB / 1.502 GB, free: 148 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/0.6207, allocations: 351.1 kB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6207, allocations: 0 / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.6207, allocations: 4 kB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.6207, allocations: 8 kB / 1.502 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.622, allocations: 360.6 kB / 1.503 GB, free: 15.43 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.6242, allocations: 1.022 MB / 1.504 GB, free: 14.37 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.6254, allocations: 397.3 kB / 1.504 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.626, allocations: 205.5 kB / 1.504 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.6261, allocations: 4 kB / 1.504 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/0.6269, allocations: 321.2 kB / 1.505 GB, free: 13.42 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.6269, allocations: 0 / 1.505 GB, free: 13.42 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008217/0.6351, allocations: 1.18 MB / 1.506 GB, free: 12.23 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.6352, allocations: 77.11 kB / 1.506 GB, free: 12.14 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.6368, allocations: 1.38 MB / 1.507 GB, free: 10.75 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.6369, allocations: 37.69 kB / 1.507 GB, free: 10.71 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.6372, allocations: 372.5 kB / 1.508 GB, free: 10.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.6373, allocations: 103.1 kB / 1.508 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.6375, allocations: 69.67 kB / 1.508 GB, free: 10.16 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6376, allocations: 318 kB / 1.508 GB, free: 9.844 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.6383, allocations: 183.7 kB / 1.508 GB, free: 9.664 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/0.639, allocations: 289.2 kB / 1.509 GB, free: 9.348 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.6403, allocations: 413.6 kB / 1.509 GB, free: 8.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6403, allocations: 0 / 1.509 GB, free: 8.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003766/0.6441, allocations: 0.7433 MB / 1.51 GB, free: 8.176 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6441, allocations: 8 kB / 1.51 GB, free: 8.168 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6441, allocations: 0 / 1.51 GB, free: 8.168 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.6451, allocations: 184.7 kB / 1.51 GB, free: 7.984 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.6455, allocations: 60.2 kB / 1.51 GB, free: 7.926 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/0.6529, allocations: 2.158 MB / 1.512 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.6534, allocations: 43.84 kB / 1.512 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.6534, allocations: 11.98 kB / 1.512 GB, free: 5.613 MB / 1.201 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.0004147/0.6539, allocations: 301.6 kB / 1.512 GB, free: 5.309 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.654, allocations: 87.44 kB / 1.513 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/0.658, allocations: 0.853 MB / 1.513 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6581, allocations: 7.938 kB / 1.513 GB, free: 4.348 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6581, allocations: 0 / 1.513 GB, free: 4.348 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6581, allocations: 0 / 1.513 GB, free: 4.348 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.6587, allocations: 499.5 kB / 1.514 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6587, allocations: 0 / 1.514 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.659, allocations: 59.91 kB / 1.514 GB, free: 3.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009184/0.6599, allocations: 180.6 kB / 1.514 GB, free: 3.59 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.66, allocations: 19.91 kB / 1.514 GB, free: 3.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007214/0.6672, allocations: 2.142 MB / 1.516 GB, free: 1.324 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.6672, allocations: 4.125 kB / 1.516 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/0.6711, allocations: 0.8133 MB / 1.517 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6712, allocations: 91.23 kB / 1.517 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/0.6713, allocations: 8 kB / 1.517 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.6717, allocations: 27.97 kB / 1.517 GB, free: 364 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.6718, allocations: 23.95 kB / 1.517 GB, free: 340 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.6719, allocations: 23.92 kB / 1.517 GB, free: 316 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001218/0.6731, allocations: 1.034 MB / 1.518 GB, free: 15.27 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6731, allocations: 0 / 1.518 GB, free: 15.27 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005118/0.6736, allocations: 115.9 kB / 1.518 GB, free: 15.16 MB / 1.217 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 (37): * Single equations (assignments): 32 * 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.001719/0.6753, allocations: 460 kB / 1.519 GB, free: 14.89 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.6771, allocations: 0.557 MB / 1.519 GB, free: 14.32 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6771, allocations: 0 / 1.519 GB, free: 14.32 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.6781, allocations: 371.2 kB / 1.52 GB, free: 13.95 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.6787, allocations: 115.3 kB / 1.52 GB, free: 13.84 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.6815, allocations: 1.695 MB / 1.521 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.6819, allocations: 383.4 kB / 1.522 GB, free: 11.71 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6821, allocations: 43.42 kB / 1.522 GB, free: 11.66 MB / 1.217 GB Notification: Performance of SimCode: time 7.01e-07/0.6821, allocations: 4 kB / 1.522 GB, free: 11.66 MB / 1.217 GB Notification: Performance of Templates: time 0.01816/0.7003, allocations: 11.62 MB / 1.533 GB, free: 56 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.951370573136955]