Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 113 kB / 16.42 MB, free: 6.469 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.001246/0.001246, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 55.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8012, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated): time 0.003905/0.8051, allocations: 2.341 MB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.8076, allocations: 1.406 MB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.8079, allocations: 4 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.8083, allocations: 103.3 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.8088, allocations: 131.2 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.8099, allocations: 368.7 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000754/0.8106, allocations: 0.569 MB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.8112, allocations: 312.7 kB / 1.214 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.8116, allocations: 215.2 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.8119, allocations: 223.1 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.812, allocations: 48 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.8123, allocations: 127.9 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.8125, allocations: 131.6 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.8127, allocations: 214.9 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007829/0.8135, allocations: 0.6363 MB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8135, allocations: 0 / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8135, allocations: 0 / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.8136, allocations: 4 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001575/0.8151, allocations: 0.8013 MB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.8152, allocations: 8.031 kB / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.8153, allocations: 44.47 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.8159, allocations: 375.8 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.816, allocations: 36.95 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.8161, allocations: 39.94 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.8169, allocations: 406.7 kB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.8169, allocations: 0 / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.817, allocations: 12 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.817, allocations: 8.656 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.8177, allocations: 318.4 kB / 1.217 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.8195, allocations: 1.096 MB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.8203, allocations: 341.8 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.8206, allocations: 156.8 kB / 1.219 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.8207, allocations: 11.84 kB / 1.219 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.8212, allocations: 237.8 kB / 1.219 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 2.334e-06/0.8212, allocations: 3.938 kB / 1.219 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39): time 0.001188/0.8224, allocations: 486.2 kB / 1.219 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.8225, allocations: 110.8 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.8229, allocations: 400.2 kB / 1.22 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.823, allocations: 49.7 kB / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.8231, allocations: 196.8 kB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.8232, allocations: 106.6 kB / 1.22 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.8234, allocations: 106.2 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8236, allocations: 358.7 kB / 1.221 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.824, allocations: 149 kB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.8244, allocations: 258.4 kB / 1.221 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/0.8251, allocations: 342.6 kB / 1.221 GB, free: 132 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.8252, allocations: 4 kB / 1.221 GB, free: 128 kB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001008/0.8262, allocations: 0.4894 MB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.8262, allocations: 29.7 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8262, allocations: 7.984 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.8263, allocations: 4 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.8266, allocations: 63.89 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8266, allocations: 4 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.8269, allocations: 67.73 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.827, allocations: 27.86 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition4,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,cooModCon.swi.expr[2],cooModCon.swi.expr[1],chiNumOn.combiTimeTable.nextTimeEventScaled,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.y,TCHWSup.count,$PRE.TCHWSup.count,TCHWSup.T_start,$PRE.TCHWSup.T_start,cooModCon.stateGraphRoot.activeSteps,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.localCondition,cooModCon.swi.firstActiveIndex,cooModCon.swi.y,$PRE.cooModCon.swi.y,cooModCon.con1.t_start,$PRE.cooModCon.con1.t_start,cooModCon.con1.fire,cooModCon.con1.enableFire,cooModCon.con1.localCondition,cooModCon.fulMecCoo.active,cooModCon.fulMecCoo.oldActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.freCoo.active,cooModCon.freCoo.oldActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.localActive,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0002707/0.8273, allocations: 211 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.8273, allocations: 35.61 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008867/0.8282, allocations: 412.6 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8283, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8283, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.8284, allocations: 120.6 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.8284, allocations: 11.94 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.8287, allocations: 35.95 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.8289, allocations: 51.94 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001019/0.8299, allocations: 476.4 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008591/0.8308, allocations: 0.5567 MB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003625/0.8311, allocations: 183.7 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002825/0.8314, allocations: 267 kB / 1.224 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/0.8314, allocations: 0 / 1.224 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.8335, allocations: 0.7128 MB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001354/0.8348, allocations: 1.077 MB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.01329/0.8481, allocations: 6.574 MB / 1.232 GB, free: 4.852 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches