Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 182.7 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 223.1 MB / 0.7992 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 98.75 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 9.328 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.5805, allocations: 158.7 MB / 1.384 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.5809, allocations: 99.92 kB / 1.384 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03745/0.6184, allocations: 13.1 MB / 1.397 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6184, allocations: 0 / 1.397 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.74e-05/0.6185, allocations: 8 kB / 1.397 GB, free: 9.285 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001657/0.6202, allocations: 0.8662 MB / 1.398 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.6202, allocations: 8.562 kB / 1.398 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.6204, allocations: 63.34 kB / 1.398 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/0.6212, allocations: 449.5 kB / 1.398 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.6213, allocations: 28.64 kB / 1.399 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.6213, allocations: 32 kB / 1.399 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.6221, allocations: 406.6 kB / 1.399 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6222, allocations: 0 / 1.399 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.6222, allocations: 12 kB / 1.399 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.6222, allocations: 11.94 kB / 1.399 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.6229, allocations: 306.5 kB / 1.399 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.6248, allocations: 1.19 MB / 1.4 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.626, allocations: 0.524 MB / 1.401 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.626, allocations: 7.984 kB / 1.401 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004524/0.6265, allocations: 227.5 kB / 1.401 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.6265, allocations: 0 / 1.401 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001109/0.6276, allocations: 0.5045 MB / 1.402 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.6277, allocations: 148.3 kB / 1.402 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.6284, allocations: 465 kB / 1.402 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.6284, allocations: 33.7 kB / 1.402 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.6286, allocations: 244.5 kB / 1.402 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.6287, allocations: 110.5 kB / 1.403 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.6288, allocations: 4.094 kB / 1.403 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.629, allocations: 362.7 kB / 1.403 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.6293, allocations: 132.6 kB / 1.403 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.6296, allocations: 209 kB / 1.403 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.6299, allocations: 144.9 kB / 1.403 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.63, allocations: 0 / 1.403 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007262/0.6307, allocations: 392.8 kB / 1.404 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.6309, allocations: 275.8 kB / 1.404 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6309, allocations: 4 kB / 1.404 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.6309, allocations: 0 / 1.404 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.6312, allocations: 67.89 kB / 1.404 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6312, allocations: 4 kB / 1.404 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.6315, allocations: 55.72 kB / 1.404 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.6315, allocations: 8 kB / 1.404 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.6315, allocations: 4 kB / 1.404 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005706/0.6321, allocations: 295.9 kB / 1.404 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.6321, allocations: 0 / 1.404 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.6322, allocations: 7.953 kB / 1.404 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.6324, allocations: 63.91 kB / 1.405 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6324, allocations: 3.984 kB / 1.405 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.6326, allocations: 39.89 kB / 1.405 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.6327, allocations: 12 kB / 1.405 GB, free: 1.316 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition3,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.bypValCon.trigger,chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0003342/0.633, allocations: 284.6 kB / 1.405 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.6331, allocations: 55.33 kB / 1.405 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.6339, allocations: 433.7 kB / 1.405 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.634, allocations: 7.953 kB / 1.405 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.634, allocations: 0 / 1.405 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.634, allocations: 0 / 1.405 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7955/1.429, allocations: 1.034 MB / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.43, allocations: 0 / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/1.43, allocations: 55.55 kB / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/1.43, allocations: 1.156 kB / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/1.43, allocations: 13.58 kB / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/1.43, allocations: 4.594 kB / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.43, allocations: 1.719 kB / 1.406 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/1.432, allocations: 0.6811 MB / 1.407 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/1.432, allocations: 140.1 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/1.432, allocations: 13.73 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/1.432, allocations: 33.58 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.432, allocations: 24.72 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/1.432, allocations: 15.92 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006808/1.433, allocations: 366.1 kB / 1.408 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.9e-07/1.433, allocations: 5.906 kB / 1.408 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008279/1.434, allocations: 174.6 kB / 1.408 GB, free: 167.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (chiBypCon.bypValCon.I.y) * Number of discrete variables: 13 (chiBypCon.bypValCon.trigger,$whenCondition3,$whenCondition2,$whenCondition1,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * 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.001511/1.435, allocations: 444.4 kB / 1.408 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.437, allocations: 499.3 kB / 1.409 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.437, allocations: 5.156 kB / 1.409 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/1.437, allocations: 175.9 kB / 1.409 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/1.438, allocations: 117 kB / 1.409 GB, free: 167 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/1.44, allocations: 0.9887 MB / 1.41 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/1.441, allocations: 0.8622 MB / 1.411 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004195/1.442, allocations: 88.97 kB / 1.411 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.442, allocations: 50.41 kB / 1.411 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.653e-06/1.442, allocations: 4.906 kB / 1.411 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.01772/1.46, allocations: 5.699 MB / 1.417 GB, free: 165.5 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches