Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001685/0.001685, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.134/2.134, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7121, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002673/0.7148, allocations: 2.04 MB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.7158, allocations: 0.7016 MB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.7159, allocations: 7.781 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.716, allocations: 31.66 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.7162, allocations: 45.11 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.7166, allocations: 154.7 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.7169, allocations: 399.3 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.7172, allocations: 244.7 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.7174, allocations: 133.9 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.7176, allocations: 149.9 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/0.7176, allocations: 38.47 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.7177, allocations: 47.59 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.7178, allocations: 85.16 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.7179, allocations: 146.2 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.7183, allocations: 423.9 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7184, allocations: 0 / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7184, allocations: 0.9688 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.7184, allocations: 0 / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007231/0.7191, allocations: 0.5674 MB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7191, allocations: 9.578 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.7192, allocations: 32.62 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.7195, allocations: 282.9 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.7195, allocations: 25.97 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.7196, allocations: 29.53 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.7201, allocations: 319.2 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7202, allocations: 3.938 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.7202, allocations: 11.83 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.7202, allocations: 6.656 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.7207, allocations: 237.6 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.722, allocations: 0.9254 MB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.7225, allocations: 246.1 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.7227, allocations: 124.5 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.7228, allocations: 2.953 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.7231, allocations: 162.9 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.7231, allocations: 0 / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006794/0.7238, allocations: 324.2 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.7238, allocations: 61.06 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.724, allocations: 200.4 kB / 1.097 GB, free: 404 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.724, allocations: 39.69 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.7241, allocations: 161.3 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.7241, allocations: 76.5 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.7243, allocations: 79.42 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7244, allocations: 340.4 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.7246, allocations: 89.5 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.7249, allocations: 158.2 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.7253, allocations: 217.9 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7253, allocations: 0 / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005557/0.7258, allocations: 312.3 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7259, allocations: 6.156 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7259, allocations: 1.125 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7259, allocations: 3.219 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7261, allocations: 46.73 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.7261, allocations: 2.562 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.7263, allocations: 45.66 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.7264, allocations: 19.31 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001686/0.7266, allocations: 168 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.7266, allocations: 25.84 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/0.7272, allocations: 277.5 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.7272, allocations: 2.672 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7272, allocations: 0 / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.7273, allocations: 104.7 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.7274, allocations: 11.2 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.7276, allocations: 25.45 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7277, allocations: 35.14 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006953/0.7284, allocations: 363.1 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005562/0.7289, allocations: 426.5 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002445/0.7292, allocations: 127.8 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001242/0.7293, allocations: 138.7 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of Backend: time 5.41e-07/0.7293, allocations: 0 / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007035/0.7301, allocations: 253.5 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009293/0.731, allocations: 0.8657 MB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.007657/0.7387, allocations: 3.385 MB / 1.104 GB, free: 13.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches