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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001368/0.001373, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001422/0.001422, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 0.8687 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6217, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004248/0.626, allocations: 2.254 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.8071, allocations: 148.4 MB / 1.164 GB, free: 11.63 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.8073, allocations: 0 / 1.164 GB, free: 11.63 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.8084, allocations: 0.768 MB / 1.165 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007075/0.8092, allocations: 478.8 kB / 1.165 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.8101, allocations: 354.8 kB / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.8108, allocations: 0.5692 MB / 1.166 GB, free: 9.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.811, allocations: 84.7 kB / 1.166 GB, free: 9.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.8124, allocations: 366.1 kB / 1.166 GB, free: 9.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.813, allocations: 491.7 kB / 1.167 GB, free: 8.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.813, allocations: 24 kB / 1.167 GB, free: 8.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.8136, allocations: 303.5 kB / 1.167 GB, free: 8.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.8138, allocations: 199.6 kB / 1.167 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.8141, allocations: 258 kB / 1.168 GB, free: 7.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008521/0.8149, allocations: 0.7337 MB / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.815, allocations: 0 / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.815, allocations: 0 / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.815, allocations: 0 / 1.168 GB, free: 7.059 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.001681/0.8167, allocations: 1.076 MB / 1.169 GB, free: 5.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.8167, allocations: 8.031 kB / 1.169 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.8184, allocations: 194.8 kB / 1.17 GB, free: 5.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.819, allocations: 486.7 kB / 1.17 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.819, allocations: 24.36 kB / 1.17 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.8191, allocations: 20 kB / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009831/0.8201, allocations: 342.9 kB / 1.17 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.8201, allocations: 0 / 1.17 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.8201, allocations: 4 kB / 1.17 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.8201, allocations: 7.938 kB / 1.17 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.8215, allocations: 344.6 kB / 1.171 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.8238, allocations: 1.112 MB / 1.172 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.8249, allocations: 401.3 kB / 1.172 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.8257, allocations: 205.6 kB / 1.172 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.8257, allocations: 11.97 kB / 1.172 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009049/0.8267, allocations: 304.8 kB / 1.173 GB, free: 2.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.8267, allocations: 0 / 1.173 GB, free: 2.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.009575/0.8363, allocations: 1.222 MB / 1.174 GB, free: 1.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.8363, allocations: 81.05 kB / 1.174 GB, free: 1.008 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.8379, allocations: 1.345 MB / 1.175 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.838, allocations: 33.7 kB / 1.175 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.8383, allocations: 364.4 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.8384, allocations: 98.67 kB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.8386, allocations: 61.67 kB / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8388, allocations: 322 kB / 1.176 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.8394, allocations: 171.9 kB / 1.176 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/0.8402, allocations: 231 kB / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.8415, allocations: 403.8 kB / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8415, allocations: 0 / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004242/0.8458, allocations: 0.7117 MB / 1.178 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8458, allocations: 12.06 kB / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8458, allocations: 0 / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.847, allocations: 180.6 kB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.8473, allocations: 55.91 kB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/0.8558, allocations: 2.311 MB / 1.18 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.8563, allocations: 39.84 kB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.8564, allocations: 11.98 kB / 1.18 GB, free: 10.47 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.0003923/0.8568, allocations: 298.2 kB / 1.18 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.8569, allocations: 90.91 kB / 1.181 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/0.8614, allocations: 0.7594 MB / 1.181 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.8614, allocations: 4 kB / 1.181 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.8614, allocations: 0 / 1.181 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.8615, allocations: 0 / 1.181 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.8621, allocations: 0.5778 MB / 1.182 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8622, allocations: 8 kB / 1.182 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.8625, allocations: 51.91 kB / 1.182 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.8635, allocations: 176.6 kB / 1.182 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.8636, allocations: 15.98 kB / 1.182 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008263/0.8718, allocations: 2.295 MB / 1.184 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8719, allocations: 3.938 kB / 1.184 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.8762, allocations: 0.7474 MB / 1.185 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.8764, allocations: 152 kB / 1.185 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.8765, allocations: 11.94 kB / 1.185 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.877, allocations: 31.91 kB / 1.185 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.8771, allocations: 23.97 kB / 1.185 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.8771, allocations: 15.98 kB / 1.185 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001106/0.8783, allocations: 1.007 MB / 1.186 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8783, allocations: 0 / 1.186 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005317/0.8788, allocations: 107.9 kB / 1.186 GB, free: 3.871 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.001592/0.8804, allocations: 450.8 kB / 1.187 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.8823, allocations: 0.5609 MB / 1.187 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.8824, allocations: 0 / 1.187 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009995/0.8834, allocations: 367.1 kB / 1.188 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.884, allocations: 131.6 kB / 1.188 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.8868, allocations: 1.772 MB / 1.19 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.8874, allocations: 0.9683 MB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.8878, allocations: 82.92 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.8879, allocations: 43.42 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.8879, allocations: 0 / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.0182/0.9061, allocations: 10.17 MB / 1.201 GB, free: 5.477 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches