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.001022/0.001022, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008527/0.008527, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.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.447/2.447, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6844, allocations: 142.4 MB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001819/0.6863, allocations: 1.76 MB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.6873, allocations: 0.7107 MB / 0.9575 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.6874, allocations: 6.562 kB / 0.9575 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.6876, allocations: 18.86 kB / 0.9575 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.6877, allocations: 35.28 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.6881, allocations: 141.4 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.6884, allocations: 369.1 kB / 0.958 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.6887, allocations: 206.7 kB / 0.9582 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.6888, allocations: 92.33 kB / 0.9583 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.6889, allocations: 124.2 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.689, allocations: 14 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.44e-05/0.6891, allocations: 16.5 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.6891, allocations: 54.53 kB / 0.9585 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.6892, allocations: 144.2 kB / 0.9586 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.6895, allocations: 364.4 kB / 0.959 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6895, allocations: 3.984 kB / 0.959 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6895, allocations: 0 / 0.959 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6895, allocations: 1.375 kB / 0.959 GB, free: 4.703 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.000666/0.6902, allocations: 0.5166 MB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6902, allocations: 8.25 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.6903, allocations: 33.06 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.6905, allocations: 271.3 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.6906, allocations: 26.69 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.6906, allocations: 33 kB / 0.9598 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.6911, allocations: 324.8 kB / 0.9601 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6912, allocations: 0 / 0.9601 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.6912, allocations: 10.75 kB / 0.9602 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.6912, allocations: 6.875 kB / 0.9602 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.6917, allocations: 250.3 kB / 0.9604 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.6929, allocations: 0.9427 MB / 0.9613 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.6935, allocations: 258.4 kB / 0.9616 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.6937, allocations: 120.7 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.6937, allocations: 10.94 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.694, allocations: 165.1 kB / 0.9619 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.694, allocations: 4.938 kB / 0.9619 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006744/0.6947, allocations: 333 kB / 0.9622 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.6948, allocations: 56.38 kB / 0.9622 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.6949, allocations: 203.5 kB / 0.9624 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.695, allocations: 38.64 kB / 0.9625 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.695, allocations: 158.1 kB / 0.9626 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.6951, allocations: 81.92 kB / 0.9627 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.6952, allocations: 51.47 kB / 0.9627 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.6952, allocations: 336.3 kB / 0.9631 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.6955, allocations: 97.8 kB / 0.9632 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.6957, allocations: 157.2 kB / 0.9633 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.696, allocations: 217.8 kB / 0.9635 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6961, allocations: 3.938 kB / 0.9635 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005187/0.6966, allocations: 314.7 kB / 0.9638 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6966, allocations: 6.188 kB / 0.9638 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6966, allocations: 1.094 kB / 0.9638 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6966, allocations: 3.594 kB / 0.9638 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.6968, allocations: 48.52 kB / 0.9639 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6969, allocations: 3.438 kB / 0.9639 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.6971, allocations: 61.64 kB / 0.9639 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.6971, allocations: 17.72 kB / 0.9639 GB, free: 0.9297 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.000138/0.6973, allocations: 169.8 kB / 0.9641 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.6973, allocations: 20.95 kB / 0.9641 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.6978, allocations: 284.8 kB / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6978, allocations: 3.344 kB / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6979, allocations: 1.344 kB / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6979, allocations: 0 / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.6988, allocations: 0.7449 MB / 0.9651 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6988, allocations: 0 / 0.9651 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.6989, allocations: 38.11 kB / 0.9652 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6989, allocations: 1.562 kB / 0.9652 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.699, allocations: 5.625 kB / 0.9652 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.699, allocations: 5.953 kB / 0.9652 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.699, allocations: 3.938 kB / 0.9652 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.6995, allocations: 359.8 kB / 0.9655 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.6996, allocations: 102.9 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.6997, allocations: 6.031 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.6999, allocations: 38.05 kB / 0.9657 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.7, allocations: 43.7 kB / 0.9657 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.7, allocations: 9.531 kB / 0.9657 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001102/0.7001, allocations: 136 kB / 0.9658 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7001, allocations: 0 / 0.9658 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003409/0.7005, allocations: 66.38 kB / 0.9659 GB, free: 15.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.7007, allocations: 128.6 kB / 0.966 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.7012, allocations: 261.7 kB / 0.9663 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7012, allocations: 0 / 0.9663 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.7015, allocations: 134.5 kB / 0.9664 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.7018, allocations: 33.8 kB / 0.9664 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.7027, allocations: 0.5699 MB / 0.967 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.703, allocations: 0.7527 MB / 0.9677 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000127/0.7032, allocations: 33.91 kB / 0.9678 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.7032, allocations: 27.08 kB / 0.9678 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7033, allocations: 0 / 0.9678 GB, free: 14 MB / 0.7325 GB Notification: Performance of Templates: time 0.00644/0.7097, allocations: 2.662 MB / 0.9704 GB, free: 12.69 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