Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001605/0.001605, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001855/0.001855, allocations: 217.6 kB / 22.99 MB, free: 4.945 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00213/0.00213, allocations: 70.67 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.351, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004161/0.3552, allocations: 2.137 MB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.545, allocations: 132.4 MB / 1.415 GB, free: 4.984 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.5453, allocations: 7.938 kB / 1.415 GB, free: 4.977 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.5466, allocations: 0.7834 MB / 1.416 GB, free: 4.191 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.548, allocations: 0.5258 MB / 1.416 GB, free: 3.664 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.5491, allocations: 338.8 kB / 1.417 GB, free: 3.332 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0009071/0.55, allocations: 0.5965 MB / 1.417 GB, free: 2.734 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.5502, allocations: 60.83 kB / 1.417 GB, free: 2.68 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.5518, allocations: 363.8 kB / 1.418 GB, free: 2.336 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009581/0.5527, allocations: 0.519 MB / 1.418 GB, free: 1.816 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/0.5528, allocations: 24 kB / 1.418 GB, free: 1.793 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.5535, allocations: 291.6 kB / 1.418 GB, free: 1.508 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.5539, allocations: 187.7 kB / 1.419 GB, free: 1.324 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.5541, allocations: 202.4 kB / 1.419 GB, free: 1.125 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.5554, allocations: 0.766 MB / 1.42 GB, free: 364 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.5554, allocations: 7.984 kB / 1.42 GB, free: 356 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5554, allocations: 0 / 1.42 GB, free: 356 kB / 1.107 GB Notification: Performance of Transformations before backend: time 2.677e-05/0.5554, allocations: 4 kB / 1.42 GB, free: 352 kB / 1.107 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.002199/0.5576, allocations: 1.035 MB / 1.421 GB, free: 15.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5577, allocations: 8.031 kB / 1.421 GB, free: 15.27 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.5595, allocations: 215.2 kB / 1.421 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.5603, allocations: 437.3 kB / 1.421 GB, free: 14.6 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.5603, allocations: 16.38 kB / 1.421 GB, free: 14.58 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.5604, allocations: 16 kB / 1.421 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.5614, allocations: 346.8 kB / 1.422 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5614, allocations: 3.984 kB / 1.422 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.5614, allocations: 8 kB / 1.422 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.5614, allocations: 4 kB / 1.422 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.5628, allocations: 360.5 kB / 1.422 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.5653, allocations: 1.014 MB / 1.423 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5665, allocations: 413.1 kB / 1.423 GB, free: 12.37 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.5672, allocations: 199.8 kB / 1.424 GB, free: 12.17 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.5673, allocations: 8 kB / 1.424 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000894/0.5682, allocations: 318.5 kB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.5682, allocations: 4 kB / 1.424 GB, free: 11.83 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.009021/0.5772, allocations: 1.158 MB / 1.425 GB, free: 10.66 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.5773, allocations: 93.03 kB / 1.425 GB, free: 10.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.5792, allocations: 1.373 MB / 1.426 GB, free: 9.176 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.5792, allocations: 37.7 kB / 1.426 GB, free: 9.133 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.5796, allocations: 372.5 kB / 1.427 GB, free: 8.766 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5797, allocations: 99.17 kB / 1.427 GB, free: 8.668 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.5799, allocations: 69.66 kB / 1.427 GB, free: 8.594 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.5801, allocations: 314 kB / 1.427 GB, free: 8.281 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.5807, allocations: 183.7 kB / 1.427 GB, free: 8.102 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/0.5815, allocations: 289.3 kB / 1.428 GB, free: 7.785 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.583, allocations: 409 kB / 1.428 GB, free: 7.375 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.583, allocations: 4 kB / 1.428 GB, free: 7.371 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003972/0.587, allocations: 0.7317 MB / 1.429 GB, free: 6.629 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.587, allocations: 6.344 kB / 1.429 GB, free: 6.625 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.587, allocations: 4 kB / 1.429 GB, free: 6.621 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.5881, allocations: 176.7 kB / 1.429 GB, free: 6.445 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.5884, allocations: 63.89 kB / 1.429 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007763/0.5962, allocations: 2.154 MB / 1.431 GB, free: 4.125 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.5968, allocations: 47.81 kB / 1.431 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.5968, allocations: 20.05 kB / 1.431 GB, free: 4.059 MB / 1.123 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.0004422/0.5972, allocations: 302.1 kB / 1.432 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5974, allocations: 83.44 kB / 1.432 GB, free: 3.672 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.6016, allocations: 0.8606 MB / 1.432 GB, free: 2.793 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6016, allocations: 8 kB / 1.432 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6016, allocations: 0 / 1.432 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.6016, allocations: 3.984 kB / 1.432 GB, free: 2.781 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/0.6024, allocations: 483.6 kB / 1.433 GB, free: 2.281 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6024, allocations: 0 / 1.433 GB, free: 2.281 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.6027, allocations: 63.89 kB / 1.433 GB, free: 2.219 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009383/0.6036, allocations: 176.7 kB / 1.433 GB, free: 2.043 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.6037, allocations: 19.91 kB / 1.433 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007457/0.6111, allocations: 2.15 MB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6111, allocations: 4.031 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/0.6151, allocations: 0.8029 MB / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6153, allocations: 87.25 kB / 1.436 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.6153, allocations: 8 kB / 1.436 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.6157, allocations: 27.97 kB / 1.436 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6158, allocations: 23.95 kB / 1.436 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.6159, allocations: 23.92 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001181/0.6171, allocations: 1.026 MB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.6171, allocations: 8 kB / 1.437 GB, free: 13.74 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005149/0.6176, allocations: 115.9 kB / 1.437 GB, free: 13.63 MB / 1.139 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.001774/0.6194, allocations: 474.2 kB / 1.438 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.6212, allocations: 0.5569 MB / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6212, allocations: 0 / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009925/0.6222, allocations: 358.4 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.6228, allocations: 126.5 kB / 1.439 GB, free: 12.3 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.6257, allocations: 1.71 MB / 1.44 GB, free: 10.55 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.6262, allocations: 379.5 kB / 1.441 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.6263, allocations: 47.41 kB / 1.441 GB, free: 10.11 MB / 1.139 GB Notification: Performance of SimCode: time 8.51e-07/0.6263, allocations: 0 / 1.441 GB, free: 10.11 MB / 1.139 GB Notification: Performance of Templates: time 0.01897/0.6453, allocations: 11.61 MB / 1.452 GB, free: 14.5 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.693395694252104]