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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.005358/0.005358, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.001365/0.001365, allocations: 201.8 kB / 16.79 MB, free: 6.215 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 60.81 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.262, allocations: 157.4 MB / 1.053 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003569/0.2656, allocations: 2.253 MB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.4093, allocations: 148.3 MB / 1.2 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.4097, allocations: 7.938 kB / 1.2 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009535/0.4106, allocations: 0.7603 MB / 1.2 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007431/0.4114, allocations: 474.8 kB / 1.201 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.4125, allocations: 356.7 kB / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.4131, allocations: 0.5498 MB / 1.202 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.4133, allocations: 76.7 kB / 1.202 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.4148, allocations: 333.6 kB / 1.202 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/0.4154, allocations: 467.7 kB / 1.203 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.4155, allocations: 12 kB / 1.203 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.4161, allocations: 303.5 kB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.4163, allocations: 179.7 kB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.4166, allocations: 242 kB / 1.203 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.4172, allocations: 0.5305 MB / 1.204 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4172, allocations: 0 / 1.204 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.51e-07/0.4172, allocations: 0 / 1.204 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.4173, allocations: 0 / 1.204 GB, free: 13.03 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.001775/0.419, allocations: 1.076 MB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4191, allocations: 11.97 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.4208, allocations: 198.8 kB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.4214, allocations: 490.7 kB / 1.206 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4214, allocations: 16.38 kB / 1.206 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4215, allocations: 20 kB / 1.206 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.4225, allocations: 338.9 kB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4225, allocations: 0 / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.4225, allocations: 4 kB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4225, allocations: 4 kB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.4239, allocations: 344.6 kB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.4261, allocations: 1.109 MB / 1.207 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.4273, allocations: 402.2 kB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.428, allocations: 213.5 kB / 1.208 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4281, allocations: 4 kB / 1.208 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.429, allocations: 309.3 kB / 1.208 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 3.577e-06/0.429, allocations: 3.984 kB / 1.208 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009765/0.4388, allocations: 1.222 MB / 1.209 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4388, allocations: 81.11 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.4402, allocations: 1.353 MB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.4403, allocations: 29.7 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.4406, allocations: 360.5 kB / 1.211 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4407, allocations: 106.6 kB / 1.211 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.4409, allocations: 61.67 kB / 1.211 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.441, allocations: 322 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.4417, allocations: 179.7 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.4425, allocations: 225.9 kB / 1.212 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.4439, allocations: 397.4 kB / 1.212 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4439, allocations: 4 kB / 1.212 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004207/0.4481, allocations: 0.7111 MB / 1.213 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4481, allocations: 8 kB / 1.213 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4482, allocations: 0 / 1.213 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4492, allocations: 176.7 kB / 1.213 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.4496, allocations: 63.89 kB / 1.213 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/0.457, allocations: 2.113 MB / 1.215 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.4576, allocations: 43.84 kB / 1.215 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.4577, allocations: 12.3 kB / 1.215 GB, free: 0.6406 MB / 0.9669 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.0003712/0.4581, allocations: 298.7 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.4582, allocations: 86.91 kB / 1.216 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.4625, allocations: 0.7591 MB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4625, allocations: 4 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.4625, allocations: 4 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4625, allocations: 0 / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.4632, allocations: 0.5702 MB / 1.217 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4632, allocations: 8 kB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.4635, allocations: 47.91 kB / 1.217 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.4646, allocations: 180.6 kB / 1.217 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.4646, allocations: 15.98 kB / 1.217 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/0.472, allocations: 2.103 MB / 1.219 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.472, allocations: 64 / 1.219 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.4763, allocations: 0.7627 MB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.4764, allocations: 144 kB / 1.22 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.4765, allocations: 12 kB / 1.22 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.477, allocations: 31.97 kB / 1.22 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.4771, allocations: 23.91 kB / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.4771, allocations: 19.97 kB / 1.22 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001013/0.4782, allocations: 0.9988 MB / 1.221 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4782, allocations: 0 / 1.221 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005168/0.4787, allocations: 119.8 kB / 1.222 GB, free: 10.23 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.001026/0.4797, allocations: 431.3 kB / 1.222 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.4816, allocations: 0.5336 MB / 1.222 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4816, allocations: 4.062 kB / 1.222 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.4826, allocations: 366.3 kB / 1.223 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.4832, allocations: 113.9 kB / 1.223 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.4859, allocations: 1.828 MB / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.4865, allocations: 0.9684 MB / 1.226 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.4866, allocations: 47.41 kB / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.4866, allocations: 0 / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.0166/0.5032, allocations: 11.08 MB / 1.237 GB, free: 10.95 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches