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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.522/2.522, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001751/0.001751, allocations: 186.8 kB / 0.4901 GB, free: 2.258 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.789/1.789, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001153/0.001153, allocations: 103.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 14.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.5562, allocations: 158.7 MB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/0.5566, allocations: 111.9 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03833/0.595, allocations: 13.09 MB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.607e-06/0.5951, allocations: 0 / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.132e-05/0.5952, allocations: 23.98 kB / 1.397 GB, free: 13.55 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.002058/0.5972, allocations: 0.8546 MB / 1.398 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.5973, allocations: 12.03 kB / 1.398 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.5975, allocations: 70.53 kB / 1.398 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.5977, allocations: 63.2 kB / 1.398 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5988, allocations: 453.5 kB / 1.399 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.5988, allocations: 28.64 kB / 1.399 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.5989, allocations: 32 kB / 1.399 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008699/0.5998, allocations: 410.6 kB / 1.399 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5998, allocations: 3.938 kB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.5999, allocations: 12 kB / 1.399 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.5999, allocations: 8 kB / 1.399 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.6006, allocations: 302.5 kB / 1.399 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.6029, allocations: 1.186 MB / 1.401 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.6041, allocations: 0.5251 MB / 1.401 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.6042, allocations: 0 / 1.401 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.6047, allocations: 235.9 kB / 1.401 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=35): time 2.916e-06/0.6047, allocations: 0 / 1.401 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001196/0.6059, allocations: 0.5084 MB / 1.402 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.606, allocations: 136.4 kB / 1.402 GB, free: 8.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.6068, allocations: 465 kB / 1.402 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.6068, allocations: 37.7 kB / 1.402 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6071, allocations: 256.4 kB / 1.403 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.6072, allocations: 98.55 kB / 1.403 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.6072, allocations: 12 kB / 1.403 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6074, allocations: 358.8 kB / 1.403 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.6077, allocations: 124.6 kB / 1.403 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.6081, allocations: 212.9 kB / 1.403 GB, free: 6.887 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.6084, allocations: 145 kB / 1.404 GB, free: 6.746 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6085, allocations: 0 / 1.404 GB, free: 6.746 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007985/0.6093, allocations: 388.9 kB / 1.404 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.6094, allocations: 286.8 kB / 1.404 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6095, allocations: 0 / 1.404 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.6095, allocations: 0 / 1.404 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.6098, allocations: 71.89 kB / 1.404 GB, free: 5.988 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6098, allocations: 3.938 kB / 1.404 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.6101, allocations: 59.66 kB / 1.404 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.6102, allocations: 8 kB / 1.404 GB, free: 5.918 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.6102, allocations: 4 kB / 1.404 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005737/0.6108, allocations: 291.8 kB / 1.405 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6108, allocations: 0 / 1.405 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.6108, allocations: 7.953 kB / 1.405 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.6111, allocations: 63.97 kB / 1.405 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.6111, allocations: 12.05 kB / 1.405 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.6114, allocations: 39.83 kB / 1.405 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.6114, allocations: 8 kB / 1.405 GB, free: 5.5 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.0003751/0.6118, allocations: 279.3 kB / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6119, allocations: 55.33 kB / 1.405 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008833/0.6128, allocations: 433.7 kB / 1.405 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.6128, allocations: 4 kB / 1.405 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6128, allocations: 7.875 kB / 1.405 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6129, allocations: 4 kB / 1.405 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.6147, allocations: 1.025 MB / 1.406 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6147, allocations: 3.953 kB / 1.406 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.6149, allocations: 63.89 kB / 1.407 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/0.615, allocations: 0 / 1.407 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.615, allocations: 12 kB / 1.407 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.615, allocations: 0 / 1.407 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.615, allocations: 0 / 1.407 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.6163, allocations: 0.686 MB / 1.407 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.6165, allocations: 144.4 kB / 1.407 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.6166, allocations: 12.06 kB / 1.407 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.6168, allocations: 31.97 kB / 1.407 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.6169, allocations: 23.97 kB / 1.407 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.617, allocations: 11.98 kB / 1.407 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005362/0.6175, allocations: 367.1 kB / 1.408 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6175, allocations: 0 / 1.408 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007234/0.6183, allocations: 179.5 kB / 1.408 GB, free: 2.082 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.002756/0.621, allocations: 1.571 MB / 1.409 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.6222, allocations: 0.4951 MB / 1.41 GB, free: 152 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/0.6222, allocations: 0 / 1.41 GB, free: 152 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.6226, allocations: 180 kB / 1.41 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.6232, allocations: 111.8 kB / 1.41 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.6288, allocations: 3.062 MB / 1.413 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6294, allocations: 0.8549 MB / 1.414 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.6298, allocations: 87.2 kB / 1.414 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6301, allocations: 175.4 kB / 1.414 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of SimCode: time 8.576e-06/0.6301, allocations: 4 kB / 1.414 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.6626, allocations: 10.27 MB / 1.424 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/0.663, allocations: 253.3 kB / 1.425 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.292, allocations: 0 / 1.425 GB, free: 1.27 MB / 0.9167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat does not exist to compare? outputFormat=mat