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.001139/0.00114, allocations: 108 kB / 15.6 MB, free: 132 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.001189/0.001189, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.487/2.487, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9316/0.9329, allocations: 140.4 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003303/0.9363, allocations: 2.033 MB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.9375, allocations: 0.7045 MB / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.9376, allocations: 3.594 kB / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.9378, allocations: 35.38 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.9379, allocations: 43.31 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.9384, allocations: 156.7 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.9387, allocations: 396.5 kB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.9391, allocations: 251.2 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.9393, allocations: 133.1 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.9394, allocations: 143.2 kB / 0.9534 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.9395, allocations: 41.22 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.9396, allocations: 46.22 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.9397, allocations: 83.42 kB / 0.9535 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.9398, allocations: 150.3 kB / 0.9537 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.9402, allocations: 401.4 kB / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9402, allocations: 3.938 kB / 0.9541 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9402, allocations: 1.031 kB / 0.9541 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.9402, allocations: 0 / 0.9541 GB, free: 5.625 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.0007827/0.941, allocations: 0.5685 MB / 0.9546 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.9411, allocations: 9.188 kB / 0.9546 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.9411, allocations: 41.48 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.9414, allocations: 271.5 kB / 0.9549 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.9414, allocations: 21.69 kB / 0.955 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.9415, allocations: 32.94 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.942, allocations: 321.2 kB / 0.9553 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.942, allocations: 1.375 kB / 0.9553 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.9421, allocations: 9.438 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.9421, allocations: 7.344 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.9425, allocations: 236.1 kB / 0.9555 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.9438, allocations: 0.9421 MB / 0.9565 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.9442, allocations: 240.1 kB / 0.9567 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.9445, allocations: 119.5 kB / 0.9568 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.9445, allocations: 6.719 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.9448, allocations: 163.9 kB / 0.957 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.9449, allocations: 0 / 0.957 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006932/0.9456, allocations: 328.1 kB / 0.9573 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.9456, allocations: 59.08 kB / 0.9573 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.9458, allocations: 204.2 kB / 0.9575 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.9458, allocations: 38.86 kB / 0.9576 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.9459, allocations: 150.1 kB / 0.9577 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.946, allocations: 76.97 kB / 0.9578 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.9461, allocations: 89.58 kB / 0.9579 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.9462, allocations: 336.8 kB / 0.9582 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.9464, allocations: 97.39 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.9466, allocations: 145.5 kB / 0.9584 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.9469, allocations: 214.3 kB / 0.9586 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9469, allocations: 3.938 kB / 0.9586 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005439/0.9475, allocations: 307.3 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9475, allocations: 5.469 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9475, allocations: 2.156 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.9475, allocations: 2.312 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.9478, allocations: 42.44 kB / 0.959 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9478, allocations: 6.969 kB / 0.959 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.948, allocations: 53.23 kB / 0.959 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.948, allocations: 13.78 kB / 0.959 GB, free: 1.793 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.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.0001632/0.9482, allocations: 177.4 kB / 0.9592 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.9483, allocations: 18.25 kB / 0.9592 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.9488, allocations: 277.2 kB / 0.9595 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.9488, allocations: 7.031 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9489, allocations: 0 / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9489, allocations: 1.125 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.9499, allocations: 0.7289 MB / 0.9602 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.9499, allocations: 0 / 0.9602 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.95, allocations: 32.11 kB / 0.9602 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.95, allocations: 5.281 kB / 0.9602 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.9501, allocations: 6 kB / 0.9603 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9501, allocations: 5.172 kB / 0.9603 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9501, allocations: 1.062 kB / 0.9603 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.9506, allocations: 355.2 kB / 0.9606 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.9506, allocations: 104.2 kB / 0.9607 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.9507, allocations: 6.031 kB / 0.9607 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.9509, allocations: 28.59 kB / 0.9607 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.951, allocations: 39.77 kB / 0.9608 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.951, allocations: 10.33 kB / 0.9608 GB, free: 472 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.983e-05/0.9511, allocations: 135.4 kB / 0.9609 GB, free: 368 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9511, allocations: 0 / 0.9609 GB, free: 368 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003514/0.9515, allocations: 65.55 kB / 0.961 GB, free: 348 kB / 0.7169 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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.0001793/0.9517, allocations: 131.6 kB / 0.9611 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.9523, allocations: 264.6 kB / 0.9613 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9523, allocations: 0 / 0.9613 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.9525, allocations: 132 kB / 0.9615 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.9529, allocations: 38.39 kB / 0.9615 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.9539, allocations: 472.5 kB / 0.962 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.9544, allocations: 0.7596 MB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.9545, allocations: 34.72 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.9546, allocations: 31.59 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.9546, allocations: 0 / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.007753/0.9624, allocations: 3.036 MB / 0.9657 GB, free: 13.46 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