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.001114/0.001114, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.27 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.641/2.641, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.000411, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8852, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002195/0.8874, allocations: 1.759 MB / 0.9574 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.8886, allocations: 0.7022 MB / 0.9581 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.8887, allocations: 3.562 kB / 0.9581 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.8888, allocations: 30.98 kB / 0.9582 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.8889, allocations: 31.17 kB / 0.9582 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.8893, allocations: 137.2 kB / 0.9583 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.8897, allocations: 361.3 kB / 0.9587 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/0.8901, allocations: 209.6 kB / 0.9589 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.8902, allocations: 98.41 kB / 0.959 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.8904, allocations: 119.8 kB / 0.9591 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.8904, allocations: 12.47 kB / 0.9591 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.8905, allocations: 33.33 kB / 0.9591 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.8906, allocations: 50.67 kB / 0.9592 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.8907, allocations: 145.4 kB / 0.9593 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.891, allocations: 298.9 kB / 0.9596 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.891, allocations: 1.812 kB / 0.9596 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.891, allocations: 0 / 0.9596 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.891, allocations: 0 / 0.9596 GB, free: 4.723 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.0007015/0.8917, allocations: 0.5169 MB / 0.9601 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8917, allocations: 8.25 kB / 0.9601 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.8918, allocations: 33.06 kB / 0.9601 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.8921, allocations: 271.2 kB / 0.9604 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.8921, allocations: 30.67 kB / 0.9604 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.8922, allocations: 29 kB / 0.9604 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.8927, allocations: 320.9 kB / 0.9607 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8927, allocations: 0 / 0.9607 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.8928, allocations: 10.75 kB / 0.9608 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.8928, allocations: 6.875 kB / 0.9608 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.8933, allocations: 249.6 kB / 0.961 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.8947, allocations: 0.951 MB / 0.9619 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.8952, allocations: 254.9 kB / 0.9622 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.8955, allocations: 123.8 kB / 0.9623 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.8955, allocations: 3.672 kB / 0.9623 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.8958, allocations: 162.1 kB / 0.9625 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.8959, allocations: 0 / 0.9625 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0007406/0.8966, allocations: 340.6 kB / 0.9628 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.8966, allocations: 60.31 kB / 0.9628 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.8968, allocations: 199.2 kB / 0.963 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.8969, allocations: 47.59 kB / 0.9631 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.897, allocations: 157.8 kB / 0.9632 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.897, allocations: 78.06 kB / 0.9633 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.8971, allocations: 51.91 kB / 0.9633 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.8972, allocations: 336 kB / 0.9637 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.8974, allocations: 97.39 kB / 0.9638 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.8976, allocations: 157.4 kB / 0.9639 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.898, allocations: 217.5 kB / 0.9641 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.898, allocations: 3.938 kB / 0.9641 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005511/0.8986, allocations: 319.7 kB / 0.9644 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8986, allocations: 5.094 kB / 0.9644 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8986, allocations: 2.156 kB / 0.9644 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8987, allocations: 3.125 kB / 0.9644 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.8989, allocations: 36.08 kB / 0.9645 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.8989, allocations: 7.391 kB / 0.9645 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.8991, allocations: 67.75 kB / 0.9645 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.8991, allocations: 11.16 kB / 0.9645 GB, free: 0.9531 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.000151/0.8993, allocations: 175.4 kB / 0.9647 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.8993, allocations: 20.53 kB / 0.9647 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.8999, allocations: 284.9 kB / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.8999, allocations: 3.531 kB / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8999, allocations: 0 / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8999, allocations: 0 / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.9009, allocations: 0.7488 MB / 0.9657 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.901, allocations: 1.438 kB / 0.9657 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.9011, allocations: 29.95 kB / 0.9658 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9011, allocations: 5.375 kB / 0.9658 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.9011, allocations: 8.953 kB / 0.9658 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9012, allocations: 1.719 kB / 0.9658 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.9012, allocations: 3.938 kB / 0.9658 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.9018, allocations: 355.8 kB / 0.9661 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.9019, allocations: 102.8 kB / 0.9662 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.9019, allocations: 10.23 kB / 0.9662 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.9021, allocations: 38.34 kB / 0.9663 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.9023, allocations: 39.02 kB / 0.9663 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.9023, allocations: 10.19 kB / 0.9663 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001163/0.9024, allocations: 135.3 kB / 0.9665 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9024, allocations: 1.281 kB / 0.9665 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003566/0.9028, allocations: 65.56 kB / 0.9665 GB, free: 15.5 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.0002005/0.903, allocations: 122.5 kB / 0.9666 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.9036, allocations: 262 kB / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9036, allocations: 0 / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.9039, allocations: 133.6 kB / 0.967 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.9042, allocations: 34.42 kB / 0.967 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.9052, allocations: 0.5884 MB / 0.9676 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.9056, allocations: 0.7558 MB / 0.9684 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.9058, allocations: 32.45 kB / 0.9684 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.9058, allocations: 0 / 0.9684 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.00614/0.9119, allocations: 3.352 MB / 0.9717 GB, free: 12.28 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/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