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.001766/0.001766, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.002095/0.002095, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.336/3.336, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.002477/0.002477, allocations: 73.67 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4185, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003924/0.4224, allocations: 2.253 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.6179, allocations: 154 MB / 1.48 GB, free: 4.668 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.6181, allocations: 7.875 kB / 1.48 GB, free: 4.66 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.6192, allocations: 0.7795 MB / 1.48 GB, free: 3.879 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008446/0.62, allocations: 0.522 MB / 1.481 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.621, allocations: 342.6 kB / 1.481 GB, free: 3.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007289/0.6217, allocations: 0.5927 MB / 1.482 GB, free: 2.422 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.6219, allocations: 62.16 kB / 1.482 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.6232, allocations: 382 kB / 1.482 GB, free: 2 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.6239, allocations: 0.5308 MB / 1.483 GB, free: 1.469 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.624, allocations: 24 kB / 1.483 GB, free: 1.445 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.6246, allocations: 307.5 kB / 1.483 GB, free: 1.145 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.6248, allocations: 191.6 kB / 1.483 GB, free: 0.957 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.6251, allocations: 261.9 kB / 1.484 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.6261, allocations: 0.7584 MB / 1.484 GB, free: 15.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6261, allocations: 4 kB / 1.484 GB, free: 15.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6261, allocations: 0 / 1.484 GB, free: 15.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.6261, allocations: 0 / 1.484 GB, free: 15.93 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.001743/0.6279, allocations: 1.047 MB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.6279, allocations: 8.031 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.6297, allocations: 219.2 kB / 1.486 GB, free: 14.63 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.6304, allocations: 448.3 kB / 1.486 GB, free: 14.16 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.6305, allocations: 12.38 kB / 1.486 GB, free: 14.15 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.6305, allocations: 16 kB / 1.486 GB, free: 14.13 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009721/0.6315, allocations: 338.9 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6315, allocations: 0 / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.6315, allocations: 11.98 kB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.6315, allocations: 4 kB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.6329, allocations: 332.7 kB / 1.487 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.6352, allocations: 1.092 MB / 1.488 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6364, allocations: 385.2 kB / 1.488 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.6371, allocations: 193.6 kB / 1.488 GB, free: 11.71 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.6371, allocations: 11.84 kB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.638, allocations: 308.7 kB / 1.489 GB, free: 11.38 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.638, allocations: 0 / 1.489 GB, free: 11.38 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009203/0.6472, allocations: 1.147 MB / 1.49 GB, free: 10.23 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.6473, allocations: 81.11 kB / 1.49 GB, free: 10.13 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.6489, allocations: 1.361 MB / 1.491 GB, free: 8.758 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.649, allocations: 29.7 kB / 1.491 GB, free: 8.723 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.6493, allocations: 380.5 kB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6494, allocations: 107.2 kB / 1.492 GB, free: 8.242 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.6496, allocations: 61.67 kB / 1.492 GB, free: 8.176 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6497, allocations: 318 kB / 1.492 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006907/0.6504, allocations: 183.7 kB / 1.492 GB, free: 7.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.6511, allocations: 221.9 kB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.6525, allocations: 398.2 kB / 1.493 GB, free: 7.039 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6525, allocations: 256 / 1.493 GB, free: 7.039 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004212/0.6567, allocations: 0.72 MB / 1.493 GB, free: 6.309 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6567, allocations: 4 kB / 1.493 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6568, allocations: 0 / 1.493 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.6579, allocations: 184.7 kB / 1.494 GB, free: 6.121 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.6582, allocations: 59.91 kB / 1.494 GB, free: 6.062 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00837/0.6666, allocations: 2.21 MB / 1.496 GB, free: 3.738 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.6672, allocations: 39.92 kB / 1.496 GB, free: 3.699 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.6673, allocations: 19.98 kB / 1.496 GB, free: 3.68 MB / 1.186 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.0004383/0.6677, allocations: 294.2 kB / 1.496 GB, free: 3.383 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6679, allocations: 91.33 kB / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/0.6724, allocations: 0.8173 MB / 1.497 GB, free: 2.461 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6724, allocations: 11.94 kB / 1.497 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6724, allocations: 0 / 1.497 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6724, allocations: 0 / 1.497 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.6732, allocations: 0.5573 MB / 1.498 GB, free: 1.848 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6732, allocations: 0 / 1.498 GB, free: 1.848 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.6735, allocations: 51.91 kB / 1.498 GB, free: 1.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.6745, allocations: 176.6 kB / 1.498 GB, free: 1.621 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.6746, allocations: 15.97 kB / 1.498 GB, free: 1.605 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.6827, allocations: 2.192 MB / 1.5 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6827, allocations: 7.969 kB / 1.5 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/0.687, allocations: 0.7552 MB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.6872, allocations: 75.33 kB / 1.501 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.6873, allocations: 15.94 kB / 1.501 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.6877, allocations: 27.97 kB / 1.501 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.6878, allocations: 23.95 kB / 1.501 GB, free: 14.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.6879, allocations: 15.98 kB / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00114/0.689, allocations: 1.014 MB / 1.502 GB, free: 13.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.689, allocations: 0 / 1.502 GB, free: 13.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005228/0.6895, allocations: 115.9 kB / 1.502 GB, free: 13.23 MB / 1.201 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 (32): * Single equations (assignments): 27 * 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.001683/0.6912, allocations: 451.2 kB / 1.502 GB, free: 12.94 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.6931, allocations: 0.5372 MB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6931, allocations: 0 / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009941/0.6941, allocations: 342.5 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.6948, allocations: 122.6 kB / 1.503 GB, free: 11.94 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.6976, allocations: 1.679 MB / 1.505 GB, free: 10.22 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.6982, allocations: 0.973 MB / 1.506 GB, free: 9.219 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6984, allocations: 51.41 kB / 1.506 GB, free: 9.168 MB / 1.201 GB Notification: Performance of SimCode: time 4.21e-07/0.6984, allocations: 0 / 1.506 GB, free: 9.168 MB / 1.201 GB Notification: Performance of Templates: time 0.01775/0.7161, allocations: 11.28 MB / 1.517 GB, free: 13.89 MB / 1.217 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 -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: 13.515965308004525]