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.001353/0.001353, 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.001266/0.001266, allocations: 194.3 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 60.27 kB / 0.912 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2988, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003803/0.3027, allocations: 2.206 MB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1615/0.4642, allocations: 150.6 MB / 1.217 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.4644, allocations: 3.938 kB / 1.217 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.4657, allocations: 0.7873 MB / 1.218 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000911/0.4666, allocations: 494.6 kB / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000994/0.4676, allocations: 402.1 kB / 1.219 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.4682, allocations: 0.5655 MB / 1.22 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4684, allocations: 80.7 kB / 1.22 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.4695, allocations: 346.1 kB / 1.22 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007346/0.4702, allocations: 487.7 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.4703, allocations: 24 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.471, allocations: 303.6 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.4713, allocations: 183.7 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.4716, allocations: 265.9 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008378/0.4724, allocations: 0.7205 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4725, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.406e-06/0.4725, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4725, allocations: 3.938 kB / 1.222 GB, free: 12.48 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.001689/0.4742, allocations: 1.072 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4742, allocations: 12.03 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.4758, allocations: 198.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.4764, allocations: 490.8 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.4764, allocations: 16.38 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.4765, allocations: 16 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.4774, allocations: 335.1 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4775, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.4775, allocations: 8 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4775, allocations: 7.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.4789, allocations: 340.7 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.481, allocations: 1.112 MB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4822, allocations: 401.4 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.4829, allocations: 213.6 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.4829, allocations: 4 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009025/0.4838, allocations: 313.7 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.4838, allocations: 7.938 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009047/0.4929, allocations: 1.21 MB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.493, allocations: 81.11 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.4944, allocations: 1.349 MB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.4945, allocations: 33.7 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.4948, allocations: 360.5 kB / 1.229 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.4949, allocations: 102.6 kB / 1.229 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.495, allocations: 65.66 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4952, allocations: 322 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.4958, allocations: 167.9 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.4965, allocations: 233.8 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.4979, allocations: 398.1 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4979, allocations: 0 / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003948/0.5019, allocations: 0.7229 MB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5019, allocations: 5.875 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.502, allocations: 7.938 kB / 1.231 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.5031, allocations: 180.7 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.5035, allocations: 55.91 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008315/0.5118, allocations: 2.305 MB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.5123, allocations: 43.75 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.5124, allocations: 19.98 kB / 1.234 GB, free: 15.89 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.0004477/0.5129, allocations: 299.1 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.513, allocations: 86.89 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.5172, allocations: 0.7518 MB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5172, allocations: 7.938 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5173, allocations: 3.938 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.5173, allocations: 7.984 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.518, allocations: 0.5664 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.518, allocations: 0 / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.5183, allocations: 51.97 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009918/0.5193, allocations: 176.6 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.5194, allocations: 11.98 kB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007683/0.527, allocations: 2.295 MB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5271, allocations: 3.938 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.5313, allocations: 0.7628 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5314, allocations: 144 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.5315, allocations: 11.94 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.532, allocations: 23.97 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.5321, allocations: 23.97 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.5322, allocations: 23.98 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001129/0.5333, allocations: 1.003 MB / 1.24 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5333, allocations: 0 / 1.24 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005553/0.5339, allocations: 111.9 kB / 1.24 GB, free: 9.289 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.001096/0.535, allocations: 431.4 kB / 1.24 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.537, allocations: 0.577 MB / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.537, allocations: 0 / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.538, allocations: 359.7 kB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.5387, allocations: 129.6 kB / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.5413, allocations: 1.59 MB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.5419, allocations: 0.9684 MB / 1.244 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003649/0.5423, allocations: 78.88 kB / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5424, allocations: 47.41 kB / 1.244 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.5424, allocations: 3.938 kB / 1.244 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of Templates: time 0.5233/1.066, 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