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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007799/0.0007798, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009228/0.0009229, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8977, allocations: 142.4 MB / 0.9544 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00214/0.8999, allocations: 1.717 MB / 0.9561 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.901, allocations: 0.6777 MB / 0.9568 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.9012, allocations: 8.688 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.9013, allocations: 28.12 kB / 0.9568 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.782e-05/0.9014, allocations: 31.28 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.9018, allocations: 104.2 kB / 0.9569 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.9021, allocations: 349.8 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.9024, allocations: 185.7 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.9026, allocations: 100.4 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.9028, allocations: 112.3 kB / 0.9577 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.9028, allocations: 12.91 kB / 0.9577 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.9029, allocations: 28.73 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.9029, allocations: 46.83 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.903, allocations: 75.89 kB / 0.9578 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.9033, allocations: 296 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9033, allocations: 0 / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9033, allocations: 0 / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.9033, allocations: 0 / 0.9581 GB, free: 4.824 MB / 0.7169 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.0006727/0.904, allocations: 0.5261 MB / 0.9586 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.904, allocations: 9.625 kB / 0.9586 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.9041, allocations: 34.7 kB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.9044, allocations: 258.2 kB / 0.9589 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.9044, allocations: 30.25 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.9045, allocations: 32.38 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.9051, allocations: 314.2 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9051, allocations: 1.344 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.9051, allocations: 14.33 kB / 0.9593 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.9051, allocations: 10.3 kB / 0.9593 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.9056, allocations: 244.1 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.9069, allocations: 0.9472 MB / 0.9604 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.9073, allocations: 256.1 kB / 0.9607 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.9075, allocations: 123.4 kB / 0.9608 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.9076, allocations: 10.42 kB / 0.9608 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.9079, allocations: 161.2 kB / 0.961 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.9079, allocations: 0 / 0.961 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0007178/0.9087, allocations: 334.1 kB / 0.9613 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9087, allocations: 59.92 kB / 0.9613 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.9089, allocations: 202.8 kB / 0.9615 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.9089, allocations: 38.8 kB / 0.9616 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.909, allocations: 158 kB / 0.9617 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.9091, allocations: 89.52 kB / 0.9618 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.9091, allocations: 5.406 kB / 0.9618 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.9092, allocations: 337.2 kB / 0.9621 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.9094, allocations: 92.11 kB / 0.9622 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.9096, allocations: 151.1 kB / 0.9624 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.9098, allocations: 91.2 kB / 0.9625 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9098, allocations: 0 / 0.9625 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000579/0.9104, allocations: 316.6 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.9104, allocations: 5.5 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9104, allocations: 1 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9105, allocations: 4.031 kB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.9107, allocations: 44.19 kB / 0.9628 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.9107, allocations: 6.531 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.9109, allocations: 63.2 kB / 0.9629 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.911, allocations: 12.58 kB / 0.9629 GB, free: 1.176 MB / 0.7169 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.9112, allocations: 173.3 kB / 0.9631 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.9112, allocations: 17.97 kB / 0.9631 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.9119, allocations: 291 kB / 0.9633 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.9119, allocations: 3.562 kB / 0.9634 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9119, allocations: 8 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9119, allocations: 1.281 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.913, allocations: 0.7343 MB / 0.9641 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.913, allocations: 3.984 kB / 0.9641 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.9131, allocations: 31.11 kB / 0.9641 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9131, allocations: 1.312 kB / 0.9641 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.9132, allocations: 12.86 kB / 0.9641 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.9132, allocations: 1.219 kB / 0.9641 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9132, allocations: 1.312 kB / 0.9641 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.9136, allocations: 365.3 kB / 0.9645 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.9137, allocations: 98.89 kB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.9138, allocations: 7 kB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.914, allocations: 40.7 kB / 0.9646 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.9141, allocations: 39.62 kB / 0.9647 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.9141, allocations: 10.78 kB / 0.9647 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001262/0.9143, allocations: 134.4 kB / 0.9648 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9143, allocations: 0 / 0.9648 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000338/0.9146, allocations: 65.25 kB / 0.9649 GB, free: 15.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002346/0.9149, allocations: 128.3 kB / 0.965 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005735/0.9155, allocations: 254.2 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9155, allocations: 1 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.9157, allocations: 129.2 kB / 0.9653 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.9162, allocations: 42.12 kB / 0.9654 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.9173, allocations: 0.5309 MB / 0.9659 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.9178, allocations: 0.7653 MB / 0.9666 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.9179, allocations: 29.48 kB / 0.9667 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.918, allocations: 22.88 kB / 0.9667 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.918, allocations: 0.8438 kB / 0.9667 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.006831/0.9249, allocations: 2.569 MB / 0.9692 GB, free: 13 MB / 0.7325 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/jenkins/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