Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.651/2.651, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001205/0.001205, allocations: 175.2 kB / 0.4902 GB, free: 2.305 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.761/1.761, 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.001372/0.001372, allocations: 98.31 kB / 0.9396 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 10.19 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3866, allocations: 143 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.5948, allocations: 150.7 MB / 1.376 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.5952, allocations: 91.92 kB / 1.376 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00316/0.5984, allocations: 0.8799 MB / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5984, allocations: 4 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.5984, allocations: 0 / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000446/0.5989, allocations: 335.2 kB / 1.378 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.5989, allocations: 8.562 kB / 1.378 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.599, allocations: 8 kB / 1.378 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.5992, allocations: 167 kB / 1.378 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.5992, allocations: 4 kB / 1.378 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.5992, allocations: 4 kB / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5994, allocations: 45.69 kB / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5994, allocations: 0 / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5995, allocations: 0 / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5995, allocations: 0 / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.5996, allocations: 23.97 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.6001, allocations: 256.9 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.6003, allocations: 34.5 kB / 1.378 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.6003, allocations: 4 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6003, allocations: 30.56 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.875e-06/0.6004, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003319/0.6007, allocations: 73.64 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.6008, allocations: 51.41 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.6009, allocations: 100.9 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.6009, allocations: 25.7 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.601, allocations: 92.12 kB / 1.379 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.6011, allocations: 3.906 kB / 1.379 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.6011, allocations: 8.062 kB / 1.379 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.6013, allocations: 310.8 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.6014, allocations: 12 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.6014, allocations: 11.98 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.6015, allocations: 12 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6015, allocations: 0 / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001538/0.6017, allocations: 61.73 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6017, allocations: 4 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6017, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6017, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.6018, allocations: 8 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6019, allocations: 0 / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.6019, allocations: 7.922 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6019, allocations: 11.98 kB / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001238/0.6021, allocations: 105.8 kB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.6021, allocations: 3.984 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.6021, allocations: 15.47 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6022, allocations: 0 / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.6022, allocations: 0 / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6022, allocations: 0 / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.6024, allocations: 169.5 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6024, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.6025, allocations: 12 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6025, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6025, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6025, allocations: 256 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6025, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.6028, allocations: 163.4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.6028, allocations: 81.14 kB / 1.38 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.6029, allocations: 7.938 kB / 1.38 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.6029, allocations: 0 / 1.38 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.603, allocations: 7.984 kB / 1.38 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.603, allocations: 0 / 1.38 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.6031, allocations: 79.28 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6031, allocations: 0 / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002233/0.6033, allocations: 8 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001924/0.6035, allocations: 104 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.6037, allocations: 27.97 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6037, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.6037, allocations: 12 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.6039, allocations: 4.641 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.6043, allocations: 135.3 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.6047, allocations: 0.6809 MB / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.6048, allocations: 0 / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.6048, allocations: 11.44 kB / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/0.6048, allocations: 0 / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of Templates: time 0.002474/0.6073, allocations: 260.9 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches