Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009736/0.0009738, allocations: 91.92 kB / 16.02 MB, free: 80 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: 179.7 kB / 16.92 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 11.98 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6281/0.6285, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00248/0.631, allocations: 1.889 MB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.7793, allocations: 146.7 MB / 1.169 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.7795, allocations: 7.938 kB / 1.169 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.7804, allocations: 0.7641 MB / 1.17 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006294/0.781, allocations: 482.8 kB / 1.17 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.7819, allocations: 347 kB / 1.17 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.7825, allocations: 0.5458 MB / 1.171 GB, free: 8.594 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.7826, allocations: 72.72 kB / 1.171 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.7838, allocations: 328.9 kB / 1.171 GB, free: 8.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.7843, allocations: 459.8 kB / 1.172 GB, free: 7.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.7844, allocations: 15.94 kB / 1.172 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.7849, allocations: 279.6 kB / 1.172 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.7851, allocations: 191.6 kB / 1.172 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.7853, allocations: 267.7 kB / 1.172 GB, free: 7.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.7858, allocations: 0.5165 MB / 1.173 GB, free: 6.504 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.7858, allocations: 0 / 1.173 GB, free: 6.504 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7858, allocations: 0 / 1.173 GB, free: 6.504 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7858, allocations: 0 / 1.173 GB, free: 6.504 MB / 0.92 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.001362/0.7872, allocations: 0.9732 MB / 1.174 GB, free: 5.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7872, allocations: 15.98 kB / 1.174 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.7887, allocations: 190.7 kB / 1.174 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.7892, allocations: 486.8 kB / 1.174 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.7893, allocations: 12.38 kB / 1.175 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.7893, allocations: 24 kB / 1.175 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.7902, allocations: 330.9 kB / 1.175 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7902, allocations: 0 / 1.175 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.7903, allocations: 15.92 kB / 1.175 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7903, allocations: 4 kB / 1.175 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.7915, allocations: 336.7 kB / 1.175 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.7935, allocations: 1.12 MB / 1.176 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.7946, allocations: 398.5 kB / 1.177 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.7953, allocations: 207.2 kB / 1.177 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.7953, allocations: 12 kB / 1.177 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008155/0.7961, allocations: 308.7 kB / 1.177 GB, free: 1.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 3.176e-06/0.7962, allocations: 3.984 kB / 1.177 GB, free: 1.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.008805/0.805, allocations: 1.202 MB / 1.178 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.805, allocations: 85.09 kB / 1.178 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.8064, allocations: 1.337 MB / 1.18 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.8064, allocations: 33.7 kB / 1.18 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.8067, allocations: 368.4 kB / 1.18 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.8068, allocations: 94.64 kB / 1.18 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.8069, allocations: 29.7 kB / 1.18 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.807, allocations: 326 kB / 1.181 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.8077, allocations: 171.9 kB / 1.181 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.8084, allocations: 231 kB / 1.181 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.8097, allocations: 402 kB / 1.181 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8097, allocations: 3.938 kB / 1.181 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003963/0.8137, allocations: 0.7095 MB / 1.182 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8137, allocations: 8 kB / 1.182 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8137, allocations: 0 / 1.182 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.8147, allocations: 180.7 kB / 1.182 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.8151, allocations: 63.89 kB / 1.182 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.8224, allocations: 2.099 MB / 1.184 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.823, allocations: 43.91 kB / 1.184 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.8231, allocations: 11.98 kB / 1.184 GB, free: 10.29 MB / 0.9356 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.0003881/0.8235, allocations: 291.3 kB / 1.185 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.8236, allocations: 90.88 kB / 1.185 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.8278, allocations: 0.7506 MB / 1.185 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.8278, allocations: 4.312 kB / 1.185 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.8278, allocations: 3.938 kB / 1.185 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8278, allocations: 0 / 1.185 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.8285, allocations: 0.5778 MB / 1.186 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8285, allocations: 0 / 1.186 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.8288, allocations: 51.91 kB / 1.186 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009857/0.8298, allocations: 180.6 kB / 1.186 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.8298, allocations: 15.97 kB / 1.186 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007126/0.837, allocations: 2.099 MB / 1.188 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.837, allocations: 4.031 kB / 1.188 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.8411, allocations: 0.7618 MB / 1.189 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.8413, allocations: 152 kB / 1.189 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.8414, allocations: 8 kB / 1.189 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.8418, allocations: 31.91 kB / 1.189 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.8419, allocations: 23.97 kB / 1.189 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.842, allocations: 19.98 kB / 1.189 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001005/0.843, allocations: 0.9988 MB / 1.19 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.843, allocations: 0 / 1.19 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005125/0.8435, allocations: 111.9 kB / 1.19 GB, free: 3.895 MB / 0.9356 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.001064/0.8446, allocations: 444.7 kB / 1.191 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.8463, allocations: 0.5506 MB / 1.191 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8464, allocations: 0 / 1.191 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.8473, allocations: 363.2 kB / 1.192 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.848, allocations: 114.1 kB / 1.192 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.8507, allocations: 1.846 MB / 1.194 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8512, allocations: 0.9684 MB / 1.195 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.8514, allocations: 43.41 kB / 1.195 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.8514, allocations: 0 / 1.195 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of Templates: time 0.01644/0.8678, allocations: 10.97 MB / 1.205 GB, free: 4.688 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches