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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001292/0.001292, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.69 kB / 0.8984 GB, free: 37.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003616/0.3395, allocations: 2.241 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.5133, allocations: 148.3 MB / 1.199 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.5137, allocations: 7.938 kB / 1.199 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5148, allocations: 0.772 MB / 1.2 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.5157, allocations: 478.8 kB / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.517, allocations: 362.1 kB / 1.201 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.5181, allocations: 0.5382 MB / 1.201 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.5183, allocations: 80.7 kB / 1.201 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.5203, allocations: 341.9 kB / 1.202 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.521, allocations: 455.8 kB / 1.202 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.5211, allocations: 16 kB / 1.202 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008346/0.5219, allocations: 291.5 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.5221, allocations: 183.6 kB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.5224, allocations: 257.9 kB / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008831/0.5233, allocations: 0.7048 MB / 1.203 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5233, allocations: 0 / 1.203 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.81e-07/0.5234, allocations: 0 / 1.203 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.5234, allocations: 0 / 1.203 GB, free: 13.39 MB / 0.9669 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.001723/0.5251, allocations: 1.076 MB / 1.204 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5252, allocations: 8.031 kB / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.5268, allocations: 190.8 kB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.5274, allocations: 490.6 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.5274, allocations: 20.36 kB / 1.205 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.5275, allocations: 24 kB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/0.5284, allocations: 331.2 kB / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5284, allocations: 0 / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.5285, allocations: 4 kB / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.5285, allocations: 4 kB / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.5298, allocations: 348.6 kB / 1.206 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.5319, allocations: 1.112 MB / 1.207 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5331, allocations: 413.3 kB / 1.207 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.5337, allocations: 205.6 kB / 1.207 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.5338, allocations: 7.984 kB / 1.207 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008536/0.5347, allocations: 313.3 kB / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 3.096e-06/0.5347, allocations: 0 / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009082/0.5438, allocations: 1.225 MB / 1.209 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.5438, allocations: 81.11 kB / 1.209 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5452, allocations: 1.341 MB / 1.21 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.5453, allocations: 33.69 kB / 1.21 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.5456, allocations: 368.5 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/0.5457, allocations: 98.64 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.5458, allocations: 65.67 kB / 1.211 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.546, allocations: 318 kB / 1.211 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.5466, allocations: 175.7 kB / 1.211 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.5473, allocations: 234.9 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.5486, allocations: 395.6 kB / 1.212 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5486, allocations: 0 / 1.212 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004255/0.5529, allocations: 0.7157 MB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.5529, allocations: 8 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5529, allocations: 4.062 kB / 1.213 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.5541, allocations: 180.6 kB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.5545, allocations: 59.91 kB / 1.213 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008205/0.5627, allocations: 2.114 MB / 1.215 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.5634, allocations: 39.86 kB / 1.215 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.5635, allocations: 11.98 kB / 1.215 GB, free: 1 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 ($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.0006323/0.5641, allocations: 301.6 kB / 1.215 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.5643, allocations: 90.95 kB / 1.215 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/0.5687, allocations: 0.7551 MB / 1.216 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.5687, allocations: 4 kB / 1.216 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5687, allocations: 0 / 1.216 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5687, allocations: 3.984 kB / 1.216 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000697/0.5694, allocations: 0.5587 MB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.5694, allocations: 8 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.5697, allocations: 51.91 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.5708, allocations: 180.6 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.5708, allocations: 15.98 kB / 1.217 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.5781, allocations: 2.099 MB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5782, allocations: 0 / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.5826, allocations: 0.7634 MB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.5828, allocations: 152 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.583, allocations: 8 kB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.5835, allocations: 27.97 kB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5836, allocations: 19.97 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.5836, allocations: 15.98 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001207/0.5849, allocations: 1.007 MB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5849, allocations: 0 / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006109/0.5855, allocations: 115.8 kB / 1.221 GB, free: 10.6 MB / 0.9825 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.001221/0.5867, allocations: 438.5 kB / 1.221 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.5886, allocations: 0.5421 MB / 1.222 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5886, allocations: 0 / 1.222 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.5897, allocations: 358.7 kB / 1.222 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.5904, allocations: 118.6 kB / 1.222 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5934, allocations: 1.782 MB / 1.224 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.5941, allocations: 0.9645 MB / 1.225 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004227/0.5945, allocations: 90.84 kB / 1.225 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.5946, allocations: 43.42 kB / 1.225 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of SimCode: time 1.253e-06/0.5947, allocations: 0 / 1.225 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.02024/0.6149, allocations: 9.833 MB / 1.235 GB, free: 12.57 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