Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9014/0.9014, allocations: 177.1 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.818/1.818, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0.9844 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.329e-05, allocations: 5.797 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001693/0.001706, allocations: 1.497 MB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.002303, allocations: 465.6 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.002347, allocations: 4 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.00237, allocations: 4.656 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.002413, allocations: 2.188 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.002578, allocations: 25.7 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.002656, allocations: 25.58 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.228e-05/0.002718, allocations: 10.09 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.002812, allocations: 25.56 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.002848, allocations: 4.984 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.002858, allocations: 0 / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.471e-05/0.002893, allocations: 13.23 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.002902, allocations: 1.75 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.002915, allocations: 11.83 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.002981, allocations: 21.22 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002983, allocations: 0 / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.8e-07/0.002984, allocations: 0 / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.375e-06/0.002986, allocations: 0 / 0.7621 GB, free: 4.566 MB / 0.7136 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.0002391/0.003225, allocations: 241.4 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.003252, allocations: 8.562 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.003336, allocations: 18.48 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.003438, allocations: 117.7 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.003445, allocations: 384 / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.003451, allocations: 384 / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/0.00352, allocations: 51.98 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.003526, allocations: 192 / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-06/0.00353, allocations: 384 / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003535, allocations: 4.688 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.003553, allocations: 15.92 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.003697, allocations: 149 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.003734, allocations: 23.36 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.003748, allocations: 11.11 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.003756, allocations: 0 / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.003773, allocations: 30.56 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.003774, allocations: 0 / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001015/0.003876, allocations: 45.56 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.003908, allocations: 57.22 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.003961, allocations: 110.7 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.003969, allocations: 25.7 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.003992, allocations: 84.12 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.004005, allocations: 3.953 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.004027, allocations: 16.84 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.001116/0.005143, allocations: 314.8 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.005176, allocations: 7.984 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.005187, allocations: 0 / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.005221, allocations: 8.859 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005223, allocations: 4 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.103e-05/0.005284, allocations: 37.62 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.005298, allocations: 12.97 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005302, allocations: 0 / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.005318, allocations: 3.938 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.005392, allocations: 8 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.005395, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.005413, allocations: 4 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.005417, allocations: 0 / 0.7634 GB, free: 3.039 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.00547, allocations: 115.1 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.005482, allocations: 0 / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.005501, allocations: 7.625 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.005504, allocations: 5.5 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005505, allocations: 0 / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005507, allocations: 0 / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.005595, allocations: 69.88 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.005596, allocations: 1.281 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.005614, allocations: 4 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005615, allocations: 3.938 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.005619, allocations: 0 / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.00562, allocations: 8.469 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.005621, allocations: 0.8438 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.608e-05/0.005697, allocations: 135.5 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.005704, allocations: 0.6562 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.005711, allocations: 4 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.00577, allocations: 4.547 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.005792, allocations: 10.92 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.005794, allocations: 0 / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.005808, allocations: 12.86 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.005808, allocations: 0 / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001163/0.005925, allocations: 7.953 kB / 0.7638 GB, free: 2.617 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.373e-05/0.006008, allocations: 80.41 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.015e-05/0.006059, allocations: 19.92 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006061, allocations: 0 / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.006072, allocations: 8.859 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.006173, allocations: 7.938 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.006503, allocations: 132.5 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.006534, allocations: 56.67 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.006551, allocations: 3.938 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.006585, allocations: 56.52 kB / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.006585, allocations: 0 / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of Templates: time 0.001569/0.008154, allocations: 327 kB / 0.7644 GB, free: 1.895 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5785138150677085]