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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0012/0.0012, 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.001163/0.001163, allocations: 196.2 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.193/1.193, 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 9.1.3-maint.9.1.x/package.mo): time 2.116/2.116, allocations: 390.2 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.12 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5719, allocations: 140.4 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003399/0.5753, allocations: 2.187 MB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.733, allocations: 150.6 MB / 1.099 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.7332, allocations: 7.938 kB / 1.099 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008222/0.7341, allocations: 0.7757 MB / 1.1 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.7347, allocations: 490.6 kB / 1.1 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.7356, allocations: 413.5 kB / 1.1 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.7362, allocations: 0.5655 MB / 1.101 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.7363, allocations: 80.69 kB / 1.101 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000931/0.7373, allocations: 354.9 kB / 1.101 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000434/0.7377, allocations: 475.8 kB / 1.102 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.7378, allocations: 27.94 kB / 1.102 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.7383, allocations: 299.5 kB / 1.102 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.7385, allocations: 187.7 kB / 1.102 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.7387, allocations: 269.9 kB / 1.103 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.7395, allocations: 0.7182 MB / 1.103 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7395, allocations: 8 kB / 1.103 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7395, allocations: 0 / 1.103 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7395, allocations: 0 / 1.103 GB, free: 4.035 MB / 0.8575 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.001426/0.7409, allocations: 1.072 MB / 1.104 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.741, allocations: 12.03 kB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.7424, allocations: 194.8 kB / 1.104 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.7429, allocations: 490.7 kB / 1.105 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.7429, allocations: 16.38 kB / 1.105 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.743, allocations: 19.98 kB / 1.105 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.7438, allocations: 334.9 kB / 1.105 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7438, allocations: 0 / 1.105 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.7439, allocations: 15.94 kB / 1.105 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7439, allocations: 7.984 kB / 1.105 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.745, allocations: 336.7 kB / 1.106 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.7469, allocations: 1.109 MB / 1.107 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.748, allocations: 401.4 kB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.7486, allocations: 205.5 kB / 1.107 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.7486, allocations: 11.98 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007568/0.7494, allocations: 313.6 kB / 1.108 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.542e-06/0.7494, allocations: 0 / 1.108 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008028/0.7574, allocations: 1.214 MB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.7575, allocations: 81.11 kB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.7588, allocations: 1.337 MB / 1.11 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.7588, allocations: 37.7 kB / 1.11 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.7591, allocations: 368.4 kB / 1.111 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.7592, allocations: 102.6 kB / 1.111 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.7594, allocations: 61.67 kB / 1.111 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7595, allocations: 318 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.7602, allocations: 171.9 kB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.7608, allocations: 233.7 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.762, allocations: 398 kB / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.762, allocations: 256 / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003606/0.7657, allocations: 0.7163 MB / 1.113 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7657, allocations: 4 kB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7657, allocations: 7.938 kB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.7667, allocations: 180.7 kB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.767, allocations: 59.91 kB / 1.113 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007404/0.7745, allocations: 2.299 MB / 1.115 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.7751, allocations: 47.78 kB / 1.115 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.7751, allocations: 11.98 kB / 1.115 GB, free: 7.461 MB / 0.8731 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.0005052/0.7756, allocations: 294.4 kB / 1.115 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.7758, allocations: 82.91 kB / 1.115 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.7797, allocations: 0.7552 MB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7797, allocations: 4 kB / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7797, allocations: 0 / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.7797, allocations: 4 kB / 1.116 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.7806, allocations: 0.5816 MB / 1.117 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7806, allocations: 0 / 1.117 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.7809, allocations: 51.91 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.7818, allocations: 180.6 kB / 1.117 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.7819, allocations: 11.98 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/0.7891, allocations: 2.291 MB / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7891, allocations: 3.938 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.793, allocations: 0.7542 MB / 1.12 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.7931, allocations: 148 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.7932, allocations: 11.94 kB / 1.12 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.7936, allocations: 27.97 kB / 1.12 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.7937, allocations: 23.97 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.7938, allocations: 19.98 kB / 1.12 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000998/0.7948, allocations: 1.003 MB / 1.121 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7948, allocations: 4 kB / 1.121 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004835/0.7953, allocations: 111.9 kB / 1.121 GB, free: 0.8672 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 (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.0009717/0.7962, allocations: 433.9 kB / 1.122 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.7979, allocations: 0.5699 MB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.798, allocations: 0 / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.7989, allocations: 366.5 kB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.7995, allocations: 123.4 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.8018, allocations: 1.598 MB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.8023, allocations: 0.9723 MB / 1.125 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.8027, allocations: 90.84 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.8028, allocations: 43.42 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.8028, allocations: 0 / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.01696/0.8198, allocations: 10.2 MB / 1.135 GB, free: 2.633 MB / 0.8887 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