Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.00141/0.00141, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001522/0.001522, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 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 1.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.159/3.159, allocations: 429.6 MB / 0.673 GB, free: 3.848 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 1.203 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.143e-05, allocations: 5.531 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002795/0.002827, allocations: 1.457 MB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.003785, allocations: 446.5 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.003842, allocations: 0 / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.00387, allocations: 4 kB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.003941, allocations: 12.95 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.004179, allocations: 20.7 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.004307, allocations: 31.86 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.004399, allocations: 0 / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.004549, allocations: 27.59 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.004596, allocations: 7.984 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004614, allocations: 4 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.761e-05/0.004662, allocations: 4 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.00468, allocations: 7.938 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.004708, allocations: 4 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.004848, allocations: 43.75 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004851, allocations: 0 / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.214e-06/0.004853, allocations: 0 / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004858, allocations: 0.625 kB / 0.8796 GB, free: 4.422 MB / 0.8386 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.0004806/0.005339, allocations: 262.9 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.005384, allocations: 12.03 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.005563, allocations: 17.56 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.005787, allocations: 114.7 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.005807, allocations: 384 / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.005818, allocations: 5.906 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.005959, allocations: 38.25 kB / 0.88 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00597, allocations: 4.172 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005979, allocations: 384 / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005985, allocations: 11.94 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.006073, allocations: 15.98 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.006414, allocations: 200.5 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.006514, allocations: 30.56 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.006577, allocations: 20.91 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.006592, allocations: 0 / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.006627, allocations: 34.5 kB / 0.8804 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.006627, allocations: 0 / 0.8804 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002735/0.006901, allocations: 69.61 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.006948, allocations: 51.41 kB / 0.8805 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.00706, allocations: 109.8 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.007082, allocations: 25.7 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.007153, allocations: 80.14 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.007179, allocations: 15.89 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.007218, allocations: 9.719 kB / 0.8807 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.007398, allocations: 314.8 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.007443, allocations: 11.98 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.007475, allocations: 12.12 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.00755, allocations: 24.84 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.007552, allocations: 0 / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001413/0.007693, allocations: 65.56 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.007709, allocations: 7.938 kB / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.007714, allocations: 3.938 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.00773, allocations: 0 / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.007797, allocations: 8.094 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007801, allocations: 0 / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.007836, allocations: 7.984 kB / 0.8811 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.007841, allocations: 0 / 0.8811 GB, free: 2.699 MB / 0.8386 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 8.991e-05/0.007931, allocations: 109.8 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.007955, allocations: 7.938 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.00797, allocations: 3.625 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007972, allocations: 0 / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.007978, allocations: 4 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.00798, allocations: 0 / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.008132, allocations: 113.3 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008133, allocations: 0 / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.008174, allocations: 4 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.008178, allocations: 3.984 kB / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.008187, allocations: 3.938 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008188, allocations: 0 / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.008191, allocations: 7.938 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.008376, allocations: 147.5 kB / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.008382, allocations: 0 / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.008397, allocations: 7.938 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.008459, allocations: 8.016 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.008489, allocations: 0 / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.008495, allocations: 4 kB / 0.8815 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.008564, allocations: 87.27 kB / 0.8816 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008564, allocations: 0 / 0.8816 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002109/0.008775, allocations: 4 kB / 0.8816 GB, free: 2.141 MB / 0.8386 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 0.000132/0.008907, allocations: 95.25 kB / 0.8817 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.00904, allocations: 27.92 kB / 0.8817 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009042, allocations: 0 / 0.8817 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.009085, allocations: 15.98 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.009299, allocations: 4 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.009631, allocations: 119.3 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.0097, allocations: 63.2 kB / 0.8819 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.009728, allocations: 4 kB / 0.8819 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.00976, allocations: 12.44 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.00976, allocations: 4.125 kB / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of Templates: time 0.002586/0.01235, allocations: 337.4 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8380248449975625]