Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.6 kB / 16.42 MB, free: 6.512 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.001326/0.001326, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.929/2.929, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.88 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops): time 0.004964/1.03, allocations: 2.562 MB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003298/1.034, allocations: 1.638 MB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009162/1.035, allocations: 19.94 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005471/1.035, allocations: 122.7 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006213/1.036, allocations: 103 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/1.037, allocations: 323.5 kB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001552/1.039, allocations: 0.8958 MB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/1.04, allocations: 490.2 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/1.04, allocations: 330.7 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/1.041, allocations: 338.3 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/1.041, allocations: 104 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/1.041, allocations: 100 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/1.042, allocations: 199.4 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006013/1.042, allocations: 378.1 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/1.044, allocations: 1.193 MB / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.044, allocations: 0 / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/1.044, allocations: 0 / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.774e-05/1.044, allocations: 4 kB / 1.229 GB, free: 9.547 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002722/1.047, allocations: 1.017 MB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/1.047, allocations: 8.625 kB / 1.23 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/1.047, allocations: 83.98 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/1.048, allocations: 0.5417 MB / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/1.048, allocations: 53.67 kB / 1.231 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.049, allocations: 64.38 kB / 1.231 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.05, allocations: 0.6328 MB / 1.232 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.05, allocations: 192 / 1.232 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/1.05, allocations: 31.94 kB / 1.232 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/1.05, allocations: 15.94 kB / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/1.051, allocations: 457 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/1.055, allocations: 2.038 MB / 1.234 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/1.056, allocations: 0.5386 MB / 1.235 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/1.057, allocations: 260.4 kB / 1.235 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/1.057, allocations: 4 kB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000692/1.057, allocations: 312.7 kB / 1.235 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 5.35e-06/1.057, allocations: 4 kB / 1.235 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.001551/1.059, allocations: 0.6702 MB / 1.236 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/1.059, allocations: 107.2 kB / 1.236 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/1.06, allocations: 445.9 kB / 1.236 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/1.06, allocations: 53.69 kB / 1.237 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/1.06, allocations: 316.3 kB / 1.237 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.06, allocations: 142 kB / 1.237 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/1.061, allocations: 102.2 kB / 1.237 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.061, allocations: 362.8 kB / 1.237 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/1.061, allocations: 179 kB / 1.238 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/1.062, allocations: 302.8 kB / 1.238 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/1.063, allocations: 421.7 kB / 1.238 GB, free: 108 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.063, allocations: 0 / 1.238 GB, free: 108 kB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001141/1.064, allocations: 0.5264 MB / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/1.064, allocations: 8 kB / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.064, allocations: 0 / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/1.064, allocations: 8 kB / 1.239 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/1.064, allocations: 96.12 kB / 1.239 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/1.064, allocations: 8 kB / 1.239 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/1.065, allocations: 71.55 kB / 1.239 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/1.065, allocations: 20 kB / 1.239 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005299/1.065, allocations: 300.7 kB / 1.239 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004505/1.066, allocations: 278.8 kB / 1.24 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006198/1.066, allocations: 369.8 kB / 1.24 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/1.066, allocations: 0 / 1.24 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009598/1.067, allocations: 491.1 kB / 1.24 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.067, allocations: 8 kB / 1.24 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.068, allocations: 4 kB / 1.24 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/1.068, allocations: 7.938 kB / 1.24 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/1.068, allocations: 84.14 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.068, allocations: 8 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/1.068, allocations: 59.56 kB / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/1.068, allocations: 20 kB / 1.241 GB, free: 13.69 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$PRE.conLoo.disCoo.t_next,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disHeaCon.y,conLoo.disCooCon.y,conLoo.zerCon1.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.disHea.y,conLoo.disHea.u,conLoo.disCoo.y,conLoo.disCoo.u,conLoo.enaCooLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaHeaLoo.lesHys.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002692/1.069, allocations: 227.2 kB / 1.241 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.069, allocations: 59.38 kB / 1.241 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/1.069, allocations: 61.34 kB / 1.241 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.069, allocations: 0 / 1.241 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.069, allocations: 0 / 1.241 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.069, allocations: 136.3 kB / 1.241 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/1.069, allocations: 20 kB / 1.241 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/1.069, allocations: 31.95 kB / 1.241 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.07, allocations: 56.34 kB / 1.241 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001301/1.071, allocations: 0.609 MB / 1.242 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00168/1.073, allocations: 0.9386 MB / 1.243 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004532/1.073, allocations: 243.4 kB / 1.243 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004199/1.073, allocations: 307.1 kB / 1.243 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of Backend: time 4.71e-07/1.073, allocations: 0 / 1.243 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001613/1.075, allocations: 0.5979 MB / 1.244 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002386/1.078, allocations: 1.384 MB / 1.245 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.01825/1.096, allocations: 8.309 MB / 1.253 GB, free: 0.6797 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches