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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001136/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.48 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3386, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003519/0.3422, allocations: 2.202 MB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.5013, allocations: 150.6 MB / 1.217 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.5017, allocations: 7.938 kB / 1.217 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.5027, allocations: 0.7718 MB / 1.218 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.5037, allocations: 0.4908 MB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.505, allocations: 401.3 kB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.5058, allocations: 0.5655 MB / 1.22 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.506, allocations: 76.72 kB / 1.22 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.5075, allocations: 360.8 kB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006838/0.5082, allocations: 479.7 kB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.765e-05/0.5083, allocations: 24 kB / 1.22 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.509, allocations: 299.6 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.5091, allocations: 187.7 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.5094, allocations: 254 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.5104, allocations: 0.7321 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5104, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5105, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.5105, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 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.001805/0.5123, allocations: 1.076 MB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5123, allocations: 8.031 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.514, allocations: 206.7 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.5146, allocations: 486.8 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.5146, allocations: 16.31 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.5147, allocations: 16 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.5157, allocations: 331.2 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5157, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.5158, allocations: 11.98 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.5158, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5171, allocations: 336.7 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.5193, allocations: 1.124 MB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5204, allocations: 397.4 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/0.5211, allocations: 213.6 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.5211, allocations: 7.984 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008152/0.5219, allocations: 317.7 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.5219, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008875/0.5308, allocations: 1.214 MB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.5309, allocations: 89.09 kB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.5323, allocations: 1.337 MB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.5324, allocations: 33.7 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.5327, allocations: 368.4 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5328, allocations: 90.66 kB / 1.229 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.5329, allocations: 69.67 kB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.533, allocations: 318 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.5337, allocations: 167.9 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.5344, allocations: 233.9 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.5357, allocations: 402.7 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5357, allocations: 0 / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003974/0.5397, allocations: 0.7126 MB / 1.231 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5397, allocations: 4 kB / 1.231 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5398, allocations: 7.922 kB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.5408, allocations: 176.7 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.5412, allocations: 67.89 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007731/0.5489, allocations: 2.299 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.5496, allocations: 39.92 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.5497, allocations: 24.03 kB / 1.234 GB, free: 15.93 MB / 0.9981 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.0004296/0.5501, allocations: 298.1 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.5503, allocations: 86.91 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.5544, allocations: 0.7479 MB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5545, allocations: 4 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5545, allocations: 3.984 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5545, allocations: 3.984 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.5552, allocations: 0.5703 MB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5552, allocations: 7.984 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.5555, allocations: 47.91 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009937/0.5565, allocations: 176.7 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.5566, allocations: 15.97 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00758/0.5641, allocations: 2.291 MB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5642, allocations: 11.98 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/0.5684, allocations: 0.7549 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.5687, allocations: 148 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.5688, allocations: 15.92 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.5693, allocations: 23.98 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.5694, allocations: 23.97 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.5695, allocations: 19.97 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001224/0.5707, allocations: 0.9988 MB / 1.24 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5707, allocations: 0 / 1.24 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006267/0.5714, allocations: 115.9 kB / 1.24 GB, free: 9.324 MB / 0.9981 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.001148/0.5725, allocations: 446.2 kB / 1.24 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.5745, allocations: 0.5753 MB / 1.241 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5745, allocations: 0 / 1.241 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5756, allocations: 363.6 kB / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.5763, allocations: 120.3 kB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.5795, allocations: 1.591 MB / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.5801, allocations: 0.9684 MB / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000398/0.5805, allocations: 82.91 kB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.5807, allocations: 43.42 kB / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.5807, allocations: 0 / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of Templates: time 0.5015/1.082, allocations: 10.2 MB / 1.254 GB, free: 183.1 MB / 0.9981 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