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.0009647/0.0009647, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007855/0.007855, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 8.906 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002684/0.3465, allocations: 1.906 MB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.5049, allocations: 146.7 MB / 1.204 GB, free: 424 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.5052, allocations: 7.938 kB / 1.204 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009518/0.5061, allocations: 0.7681 MB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.5068, allocations: 478.8 kB / 1.205 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.5078, allocations: 350.3 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.5084, allocations: 0.542 MB / 1.206 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.5086, allocations: 76.7 kB / 1.206 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.5099, allocations: 323.5 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.5104, allocations: 467.7 kB / 1.207 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.5105, allocations: 8 kB / 1.207 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.511, allocations: 287.5 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.5112, allocations: 183.6 kB / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.5114, allocations: 263.7 kB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006846/0.5121, allocations: 0.6969 MB / 1.208 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5121, allocations: 0 / 1.208 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5121, allocations: 3.938 kB / 1.208 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5121, allocations: 0 / 1.208 GB, free: 12.01 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.00145/0.5136, allocations: 0.9718 MB / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5137, allocations: 12.03 kB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.5152, allocations: 198.7 kB / 1.209 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.5158, allocations: 478.8 kB / 1.21 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.5158, allocations: 20.36 kB / 1.21 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.5159, allocations: 20 kB / 1.21 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.5168, allocations: 327.2 kB / 1.21 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5168, allocations: 4 kB / 1.21 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.5168, allocations: 4 kB / 1.21 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5168, allocations: 8 kB / 1.21 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.5181, allocations: 336.6 kB / 1.21 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.5202, allocations: 1.124 MB / 1.211 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.5213, allocations: 410.8 kB / 1.212 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.5219, allocations: 197.6 kB / 1.212 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.522, allocations: 23.95 kB / 1.212 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/0.5228, allocations: 313.2 kB / 1.212 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.5228, allocations: 0 / 1.212 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009039/0.5319, allocations: 1.206 MB / 1.214 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.532, allocations: 81.11 kB / 1.214 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.5335, allocations: 1.341 MB / 1.215 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.5336, allocations: 37.7 kB / 1.215 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.5339, allocations: 364.4 kB / 1.215 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.534, allocations: 94.66 kB / 1.215 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.5341, allocations: 33.7 kB / 1.215 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5342, allocations: 318 kB / 1.216 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.5349, allocations: 175.7 kB / 1.216 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.5356, allocations: 238.8 kB / 1.216 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.5369, allocations: 399.6 kB / 1.216 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5369, allocations: 0 / 1.216 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004057/0.541, allocations: 0.7001 MB / 1.217 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.541, allocations: 4 kB / 1.217 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.541, allocations: 4 kB / 1.217 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5421, allocations: 180.7 kB / 1.217 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.5425, allocations: 63.89 kB / 1.217 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/0.5502, allocations: 2.106 MB / 1.219 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.5508, allocations: 47.78 kB / 1.22 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.5509, allocations: 15.98 kB / 1.22 GB, free: 15.79 MB / 0.9825 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.0004991/0.5514, allocations: 293.6 kB / 1.22 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.5516, allocations: 78.97 kB / 1.22 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.5558, allocations: 0.7513 MB / 1.221 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5559, allocations: 4 kB / 1.221 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5559, allocations: 0 / 1.221 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5559, allocations: 0 / 1.221 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.5566, allocations: 0.5667 MB / 1.221 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5566, allocations: 0 / 1.221 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.5569, allocations: 55.91 kB / 1.221 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.558, allocations: 180.6 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.558, allocations: 15.98 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007175/0.5652, allocations: 2.099 MB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5652, allocations: 0 / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.5694, allocations: 0.7628 MB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.5696, allocations: 148 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5698, allocations: 12 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.5702, allocations: 27.97 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.5703, allocations: 19.97 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.5704, allocations: 19.98 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00108/0.5715, allocations: 1.003 MB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5715, allocations: 0 / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005812/0.5721, allocations: 115.8 kB / 1.226 GB, free: 9.406 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.001209/0.5733, allocations: 435.7 kB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.5752, allocations: 0.542 MB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5752, allocations: 64 / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.5762, allocations: 358.4 kB / 1.227 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.577, allocations: 121.9 kB / 1.227 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.5799, allocations: 1.789 MB / 1.229 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.5805, allocations: 0.9723 MB / 1.23 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.5809, allocations: 86.89 kB / 1.23 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.581, allocations: 43.42 kB / 1.23 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.581, allocations: 0 / 1.23 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.01819/0.5992, allocations: 9.68 MB / 1.239 GB, free: 11.52 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