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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008082/0.0008082, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000895/0.000895, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.024/3.024, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006007/0.0006007, allocations: 8.656 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3336, allocations: 159.6 MB / 1.058 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003235/0.3369, allocations: 1.833 MB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.5403, allocations: 136.8 MB / 1.193 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.5408, allocations: 3.938 kB / 1.193 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.5425, allocations: 0.7407 MB / 1.194 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.544, allocations: 474.8 kB / 1.195 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.546, allocations: 334 kB / 1.195 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.5471, allocations: 479.1 kB / 1.195 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.5474, allocations: 68.62 kB / 1.195 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.5484, allocations: 303.1 kB / 1.196 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.5493, allocations: 399 kB / 1.196 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.5495, allocations: 8 kB / 1.196 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5506, allocations: 279.5 kB / 1.196 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.5509, allocations: 175.4 kB / 1.196 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.5511, allocations: 121.3 kB / 1.197 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.5522, allocations: 0.5149 MB / 1.197 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5522, allocations: 0 / 1.197 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5522, allocations: 0 / 1.197 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5522, allocations: 0 / 1.197 GB, free: 6.586 MB / 0.9512 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.002564/0.5548, allocations: 0.972 MB / 1.198 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.5549, allocations: 11.97 kB / 1.198 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.5574, allocations: 198.7 kB / 1.198 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.5585, allocations: 463.5 kB / 1.199 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.5586, allocations: 16.36 kB / 1.199 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.5586, allocations: 20 kB / 1.199 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5602, allocations: 319.2 kB / 1.199 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5602, allocations: 0 / 1.199 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.5603, allocations: 12 kB / 1.199 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5603, allocations: 4 kB / 1.199 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.5627, allocations: 340.6 kB / 1.199 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/0.5663, allocations: 1.112 MB / 1.2 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.5684, allocations: 397.4 kB / 1.201 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.5696, allocations: 201.6 kB / 1.201 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.5697, allocations: 7.984 kB / 1.201 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.5712, allocations: 305.3 kB / 1.201 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 4.318e-06/0.5712, allocations: 4 kB / 1.201 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.0147/0.5859, allocations: 1.21 MB / 1.203 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.5861, allocations: 85.11 kB / 1.203 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.5882, allocations: 1.337 MB / 1.204 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5884, allocations: 33.7 kB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.5887, allocations: 368.4 kB / 1.204 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5888, allocations: 94.56 kB / 1.204 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.5889, allocations: 8 kB / 1.204 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.589, allocations: 321.9 kB / 1.205 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/0.5896, allocations: 175.7 kB / 1.205 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.5902, allocations: 221.9 kB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.5908, allocations: 188.5 kB / 1.205 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5908, allocations: 0 / 1.205 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003452/0.5943, allocations: 0.7148 MB / 1.206 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5943, allocations: 4 kB / 1.206 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5943, allocations: 4 kB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009734/0.5953, allocations: 172.7 kB / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.5957, allocations: 63.89 kB / 1.206 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/0.6037, allocations: 2.099 MB / 1.208 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.6045, allocations: 43.88 kB / 1.208 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.6046, allocations: 15.98 kB / 1.208 GB, free: 10.68 MB / 0.9669 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005578/0.6052, allocations: 294.7 kB / 1.209 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.6054, allocations: 82.92 kB / 1.209 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.6094, allocations: 0.7513 MB / 1.209 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.6094, allocations: 4 kB / 1.209 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6094, allocations: 7.938 kB / 1.209 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.6095, allocations: 3.984 kB / 1.209 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.6102, allocations: 0.5818 MB / 1.21 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6103, allocations: 0 / 1.21 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.6105, allocations: 43.97 kB / 1.21 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008826/0.6114, allocations: 180.6 kB / 1.21 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.6115, allocations: 12.3 kB / 1.21 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006115/0.6176, allocations: 2.095 MB / 1.212 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6176, allocations: 0 / 1.212 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.6212, allocations: 0.7549 MB / 1.213 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.6216, allocations: 156 kB / 1.213 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.6217, allocations: 4 kB / 1.213 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.6222, allocations: 35.88 kB / 1.213 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.6223, allocations: 31.84 kB / 1.213 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.6224, allocations: 19.92 kB / 1.213 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001577/0.624, allocations: 0.9988 MB / 1.214 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.624, allocations: 8 kB / 1.214 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007309/0.6247, allocations: 119.9 kB / 1.214 GB, free: 4.266 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.6261, allocations: 428.7 kB / 1.215 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.6281, allocations: 0.5336 MB / 1.215 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6281, allocations: 0 / 1.215 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.6291, allocations: 362.4 kB / 1.216 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.63, allocations: 114.3 kB / 1.216 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.6331, allocations: 1.716 MB / 1.217 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.6339, allocations: 0.9606 MB / 1.218 GB, free: 248 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004487/0.6343, allocations: 90.91 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.6345, allocations: 39.42 kB / 1.218 GB, free: 116 kB / 0.9669 GB Notification: Performance of SimCode: time 9.72e-07/0.6345, allocations: 3.938 kB / 1.218 GB, free: 112 kB / 0.9669 GB Notification: Performance of Templates: time 0.01935/0.6538, allocations: 9.51 MB / 1.228 GB, free: 6.66 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches