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.001743/0.001743, 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.002132/0.002132, allocations: 220.7 kB / 22.99 MB, free: 4.914 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.241/3.241, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.002134/0.002134, allocations: 62.81 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004517/0.3495, allocations: 2.13 MB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1939/0.5434, allocations: 132.4 MB / 1.458 GB, free: 10.9 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.5437, allocations: 7.938 kB / 1.458 GB, free: 10.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.5448, allocations: 0.7873 MB / 1.458 GB, free: 10.1 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.5459, allocations: 0.518 MB / 1.459 GB, free: 9.582 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.5469, allocations: 346.8 kB / 1.459 GB, free: 9.242 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.5477, allocations: 0.581 MB / 1.46 GB, free: 8.656 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.5479, allocations: 56.89 kB / 1.46 GB, free: 8.602 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.5495, allocations: 369.8 kB / 1.46 GB, free: 8.254 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.5505, allocations: 0.5152 MB / 1.461 GB, free: 7.738 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.5506, allocations: 28 kB / 1.461 GB, free: 7.711 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009854/0.5516, allocations: 291.6 kB / 1.461 GB, free: 7.426 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.5519, allocations: 203.6 kB / 1.461 GB, free: 7.227 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.5521, allocations: 190.5 kB / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.5534, allocations: 0.77 MB / 1.462 GB, free: 6.266 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5534, allocations: 0 / 1.462 GB, free: 6.266 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5534, allocations: 0 / 1.462 GB, free: 6.266 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.5534, allocations: 4 kB / 1.462 GB, free: 6.262 MB / 1.154 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.00206/0.5555, allocations: 1.039 MB / 1.463 GB, free: 5.188 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5555, allocations: 8.031 kB / 1.463 GB, free: 5.18 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.5573, allocations: 227.2 kB / 1.463 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.558, allocations: 433.3 kB / 1.464 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.558, allocations: 12.38 kB / 1.464 GB, free: 4.492 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.5581, allocations: 23.98 kB / 1.464 GB, free: 4.469 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5591, allocations: 338.9 kB / 1.464 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5591, allocations: 0 / 1.464 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.5592, allocations: 11.98 kB / 1.464 GB, free: 4.113 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5592, allocations: 4 kB / 1.464 GB, free: 4.109 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.5606, allocations: 364.6 kB / 1.465 GB, free: 3.754 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.563, allocations: 1.007 MB / 1.465 GB, free: 2.711 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.5643, allocations: 394.6 kB / 1.466 GB, free: 2.309 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.565, allocations: 202 kB / 1.466 GB, free: 2.105 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.565, allocations: 4 kB / 1.466 GB, free: 2.102 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009346/0.566, allocations: 324.7 kB / 1.466 GB, free: 1.766 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.495e-06/0.566, allocations: 3.938 kB / 1.466 GB, free: 1.762 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.009233/0.5752, allocations: 1.167 MB / 1.468 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.5753, allocations: 81.11 kB / 1.468 GB, free: 500 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.5772, allocations: 1.38 MB / 1.469 GB, free: 15.1 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.5773, allocations: 37.69 kB / 1.469 GB, free: 15.05 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.5777, allocations: 368.5 kB / 1.469 GB, free: 14.69 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.5778, allocations: 103.2 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.578, allocations: 65.67 kB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5781, allocations: 318 kB / 1.47 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/0.5788, allocations: 179.7 kB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.5796, allocations: 289.3 kB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.5811, allocations: 411.5 kB / 1.471 GB, free: 13.29 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5811, allocations: 0 / 1.471 GB, free: 13.29 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004189/0.5853, allocations: 0.7278 MB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.5853, allocations: 7.938 kB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5853, allocations: 7.984 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5864, allocations: 176.7 kB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.5868, allocations: 63.89 kB / 1.472 GB, free: 12.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/0.5953, allocations: 2.161 MB / 1.474 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.596, allocations: 35.94 kB / 1.474 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.5961, allocations: 23.97 kB / 1.474 GB, free: 9.98 MB / 1.17 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.0006561/0.5967, allocations: 304.3 kB / 1.474 GB, free: 9.676 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5969, allocations: 83.44 kB / 1.474 GB, free: 9.594 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.6013, allocations: 0.8567 MB / 1.475 GB, free: 8.723 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6013, allocations: 8 kB / 1.475 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6013, allocations: 3.938 kB / 1.475 GB, free: 8.711 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.6013, allocations: 3.984 kB / 1.475 GB, free: 8.707 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007605/0.6021, allocations: 495.4 kB / 1.475 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6021, allocations: 0 / 1.475 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.6024, allocations: 55.91 kB / 1.476 GB, free: 8.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.6034, allocations: 180.6 kB / 1.476 GB, free: 7.957 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.6035, allocations: 19.92 kB / 1.476 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007778/0.6112, allocations: 2.146 MB / 1.478 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6112, allocations: 11.95 kB / 1.478 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.6155, allocations: 0.811 MB / 1.479 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.6157, allocations: 75.31 kB / 1.479 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.6157, allocations: 15.94 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.6162, allocations: 31.97 kB / 1.479 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.6163, allocations: 23.95 kB / 1.479 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.6163, allocations: 23.92 kB / 1.479 GB, free: 4.672 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001315/0.6177, allocations: 1.026 MB / 1.48 GB, free: 3.648 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6177, allocations: 4 kB / 1.48 GB, free: 3.645 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005779/0.6182, allocations: 119.8 kB / 1.48 GB, free: 3.527 MB / 1.17 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.001817/0.6201, allocations: 473.8 kB / 1.48 GB, free: 3.242 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.622, allocations: 0.5531 MB / 1.481 GB, free: 2.676 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.622, allocations: 0 / 1.481 GB, free: 2.676 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6231, allocations: 362.5 kB / 1.481 GB, free: 2.309 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.6238, allocations: 121.3 kB / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.6269, allocations: 1.706 MB / 1.483 GB, free: 460 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.6274, allocations: 384.2 kB / 1.483 GB, free: 52 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.6276, allocations: 43.42 kB / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of SimCode: time 6.11e-07/0.6276, allocations: 0 / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of Templates: time 0.01994/0.6475, allocations: 11.63 MB / 1.495 GB, free: 4.379 MB / 1.186 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.185232653748244]