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.001474/0.001474, allocations: 103.1 kB / 16.45 MB, free: 6.5 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.001441/0.001441, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.177/3.177, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 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.00205/0.00205, allocations: 69.09 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004898/0.3542, allocations: 2.244 MB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.5422, allocations: 153.9 MB / 1.474 GB, free: 6.125 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.5424, allocations: 11.88 kB / 1.474 GB, free: 6.113 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.5436, allocations: 0.7834 MB / 1.474 GB, free: 5.328 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008546/0.5445, allocations: 0.518 MB / 1.475 GB, free: 4.809 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.5453, allocations: 342.8 kB / 1.475 GB, free: 4.473 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006934/0.546, allocations: 0.5849 MB / 1.476 GB, free: 3.883 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.5462, allocations: 64.64 kB / 1.476 GB, free: 3.824 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.5474, allocations: 375.5 kB / 1.476 GB, free: 3.465 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.548, allocations: 0.5308 MB / 1.477 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.5481, allocations: 24 kB / 1.477 GB, free: 2.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.5487, allocations: 311.5 kB / 1.477 GB, free: 2.605 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.5489, allocations: 183.7 kB / 1.477 GB, free: 2.426 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.5491, allocations: 265.9 kB / 1.478 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.5502, allocations: 0.766 MB / 1.478 GB, free: 1.395 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5502, allocations: 0 / 1.478 GB, free: 1.395 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5502, allocations: 0 / 1.478 GB, free: 1.395 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.5502, allocations: 0 / 1.478 GB, free: 1.395 MB / 1.17 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.001848/0.5521, allocations: 1.126 MB / 1.479 GB, free: 220 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5521, allocations: 11.98 kB / 1.479 GB, free: 208 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.5539, allocations: 215.4 kB / 1.48 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.5547, allocations: 0.4956 MB / 1.48 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.5547, allocations: 12.38 kB / 1.48 GB, free: 15.44 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.5547, allocations: 24 kB / 1.48 GB, free: 15.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/0.5557, allocations: 330.9 kB / 1.48 GB, free: 15.08 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5557, allocations: 4 kB / 1.48 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.5558, allocations: 8 kB / 1.48 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.5558, allocations: 4 kB / 1.48 GB, free: 15.06 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.5572, allocations: 348.6 kB / 1.481 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.5595, allocations: 1.116 MB / 1.482 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.5608, allocations: 385.3 kB / 1.482 GB, free: 13.15 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.5615, allocations: 189.6 kB / 1.482 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.014e-05/0.5615, allocations: 19.78 kB / 1.482 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009295/0.5625, allocations: 296.8 kB / 1.483 GB, free: 12.63 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.5625, allocations: 0 / 1.483 GB, free: 12.63 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009178/0.5716, allocations: 1.222 MB / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5717, allocations: 89.03 kB / 1.484 GB, free: 11.28 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.5735, allocations: 1.357 MB / 1.485 GB, free: 9.91 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.5736, allocations: 37.7 kB / 1.485 GB, free: 9.867 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.5739, allocations: 368.5 kB / 1.486 GB, free: 9.504 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.5741, allocations: 111.1 kB / 1.486 GB, free: 9.395 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.5742, allocations: 69.67 kB / 1.486 GB, free: 9.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5744, allocations: 321.9 kB / 1.486 GB, free: 9 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/0.5752, allocations: 171.7 kB / 1.486 GB, free: 8.832 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/0.5759, allocations: 229.9 kB / 1.487 GB, free: 8.586 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.5774, allocations: 394.2 kB / 1.487 GB, free: 8.188 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5774, allocations: 0 / 1.487 GB, free: 8.188 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004349/0.5817, allocations: 0.7181 MB / 1.488 GB, free: 7.461 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5817, allocations: 4 kB / 1.488 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5818, allocations: 4 kB / 1.488 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.5829, allocations: 180.7 kB / 1.488 GB, free: 7.273 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.5833, allocations: 63.89 kB / 1.488 GB, free: 7.211 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008679/0.5919, allocations: 2.305 MB / 1.49 GB, free: 4.766 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.5925, allocations: 43.91 kB / 1.49 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.5925, allocations: 15.98 kB / 1.49 GB, free: 4.707 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.0005206/0.5931, allocations: 297.6 kB / 1.49 GB, free: 4.406 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.5932, allocations: 95.33 kB / 1.491 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.5976, allocations: 0.7467 MB / 1.491 GB, free: 3.555 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5976, allocations: 4 kB / 1.491 GB, free: 3.551 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5976, allocations: 3.984 kB / 1.491 GB, free: 3.547 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5976, allocations: 0 / 1.491 GB, free: 3.547 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.5984, allocations: 0.582 MB / 1.492 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5984, allocations: 0 / 1.492 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.5987, allocations: 51.91 kB / 1.492 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.5997, allocations: 176.6 kB / 1.492 GB, free: 2.688 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.5998, allocations: 11.98 kB / 1.492 GB, free: 2.676 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008335/0.6081, allocations: 2.303 MB / 1.494 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6081, allocations: 0 / 1.494 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.6124, allocations: 0.7596 MB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.6126, allocations: 152.4 kB / 1.495 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.6127, allocations: 11.94 kB / 1.495 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.6131, allocations: 23.97 kB / 1.495 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.6132, allocations: 27.97 kB / 1.495 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.6133, allocations: 15.98 kB / 1.495 GB, free: 15.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001218/0.6145, allocations: 1.014 MB / 1.496 GB, free: 14.19 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6145, allocations: 0 / 1.496 GB, free: 14.19 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005563/0.6151, allocations: 119.8 kB / 1.496 GB, free: 14.07 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * 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.001722/0.6168, allocations: 462 kB / 1.497 GB, free: 13.78 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.6187, allocations: 0.5279 MB / 1.497 GB, free: 13.24 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6187, allocations: 4.062 kB / 1.497 GB, free: 13.23 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6198, allocations: 342.3 kB / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.6205, allocations: 120.6 kB / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.6234, allocations: 1.614 MB / 1.499 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.6241, allocations: 0.9687 MB / 1.5 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003298/0.6244, allocations: 94.91 kB / 1.5 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.6246, allocations: 43.42 kB / 1.5 GB, free: 9.992 MB / 1.201 GB Notification: Performance of SimCode: time 4.11e-07/0.6246, allocations: 0 / 1.5 GB, free: 9.992 MB / 1.201 GB Notification: Performance of Templates: time 0.01969/0.6443, allocations: 10.35 MB / 1.511 GB, free: 15.69 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/jenkins/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: 9.182960868813097]