Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001063/0.001063, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001472/0.001472, allocations: 168.7 kB / 15.95 MB, free: 204 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 12 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7792, allocations: 142.4 MB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00223/0.7814, allocations: 1.837 MB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1585/0.94, allocations: 136.8 MB / 1.09 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.9405, allocations: 11.94 kB / 1.09 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.9417, allocations: 0.7485 MB / 1.091 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.9427, allocations: 458.8 kB / 1.091 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.9442, allocations: 346 kB / 1.091 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009402/0.9451, allocations: 487.1 kB / 1.092 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.9453, allocations: 56.7 kB / 1.092 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.946, allocations: 307.1 kB / 1.092 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.9466, allocations: 395 kB / 1.092 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.9467, allocations: 16 kB / 1.092 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.9474, allocations: 275.5 kB / 1.093 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.9476, allocations: 171.4 kB / 1.093 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.9477, allocations: 121.3 kB / 1.093 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.9484, allocations: 0.5204 MB / 1.094 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9484, allocations: 0 / 1.094 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9484, allocations: 3.938 kB / 1.094 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.9484, allocations: 0 / 1.094 GB, free: 0.7188 MB / 0.8419 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.001534/0.95, allocations: 0.9695 MB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.95, allocations: 12.03 kB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.9515, allocations: 198.7 kB / 1.095 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.9521, allocations: 451.6 kB / 1.095 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.9521, allocations: 12.38 kB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.9522, allocations: 27.89 kB / 1.095 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.953, allocations: 323.2 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.9531, allocations: 0 / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.9531, allocations: 12 kB / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.9531, allocations: 4 kB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.9544, allocations: 344.6 kB / 1.096 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.9568, allocations: 1.117 MB / 1.097 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.9579, allocations: 392.1 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.9585, allocations: 213.6 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.9586, allocations: 11.98 kB / 1.097 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007799/0.9594, allocations: 308.7 kB / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.9594, allocations: 0 / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.007756/0.9672, allocations: 1.199 MB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.9673, allocations: 81.11 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.9687, allocations: 1.345 MB / 1.1 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.9688, allocations: 29.7 kB / 1.1 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.9691, allocations: 364.5 kB / 1.101 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.9693, allocations: 102.6 kB / 1.101 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.9693, allocations: 4 kB / 1.101 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9694, allocations: 329.9 kB / 1.101 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.97, allocations: 163.9 kB / 1.101 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.9707, allocations: 233.7 kB / 1.102 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.9714, allocations: 185.8 kB / 1.102 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9714, allocations: 4 kB / 1.102 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003618/0.975, allocations: 0.6922 MB / 1.102 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.9751, allocations: 8 kB / 1.102 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9751, allocations: 0 / 1.102 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009778/0.9761, allocations: 184.7 kB / 1.103 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.9765, allocations: 55.91 kB / 1.103 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.9833, allocations: 2.107 MB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.984, allocations: 51.77 kB / 1.105 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.984, allocations: 15.97 kB / 1.105 GB, free: 4.809 MB / 0.8575 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.0004836/0.9845, allocations: 294.2 kB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.9847, allocations: 82.97 kB / 1.105 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.9884, allocations: 0.7406 MB / 1.106 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.9884, allocations: 7.953 kB / 1.106 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9884, allocations: 4 kB / 1.106 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.9885, allocations: 0 / 1.106 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.9892, allocations: 0.5703 MB / 1.106 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9892, allocations: 3.938 kB / 1.106 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.9895, allocations: 51.97 kB / 1.106 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/0.9903, allocations: 176.7 kB / 1.107 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.9904, allocations: 19.92 kB / 1.107 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/0.9969, allocations: 2.095 MB / 1.109 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9969, allocations: 0 / 1.109 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/1.001, allocations: 0.7512 MB / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/1.001, allocations: 159.9 kB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/1.001, allocations: 8 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/1.001, allocations: 27.97 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/1.002, allocations: 23.97 kB / 1.11 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/1.002, allocations: 15.98 kB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001169/1.003, allocations: 1.003 MB / 1.111 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.003, allocations: 3.938 kB / 1.111 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005587/1.003, allocations: 111.9 kB / 1.111 GB, free: 14.44 MB / 0.8731 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.001111/1.004, allocations: 443 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001685/1.006, allocations: 0.542 MB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.006, allocations: 0 / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009071/1.007, allocations: 362.7 kB / 1.112 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/1.008, allocations: 121.3 kB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.01, allocations: 1.711 MB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/1.011, allocations: 0.9684 MB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003884/1.011, allocations: 74.94 kB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.012, allocations: 47.41 kB / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of SimCode: time 8.41e-07/1.012, allocations: 0 / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.01821/1.03, allocations: 9.519 MB / 1.124 GB, free: 0.8008 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches