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.001424/0.001424, allocations: 93.06 kB / 19.65 MB, free: 280 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.001448/0.001448, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9074/0.9074, allocations: 177.2 MB / 203.4 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 1.943/1.943, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] 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.133e-06/1.133e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.137e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.001661/0.001672, allocations: 1.507 MB / 0.8797 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004589/0.002131, allocations: 455.5 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.002157, allocations: 1.656 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.00217, allocations: 3.938 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.411e-05/0.002194, allocations: 3.938 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.002302, allocations: 23.95 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.002354, allocations: 32.86 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.002395, allocations: 4 kB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.002458, allocations: 23.86 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.373e-05/0.002481, allocations: 16.98 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.026e-06/0.002489, allocations: 0 / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.002512, allocations: 9.109 kB / 0.8802 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.002518, allocations: 4 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.164e-05/0.00253, allocations: 8 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.351e-05/0.002583, allocations: 25.03 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-06/0.002585, allocations: 0 / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.5e-07/0.002585, allocations: 0 / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.002588, allocations: 0 / 0.8802 GB, free: 4.223 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.000199/0.002787, allocations: 365.4 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.275e-05/0.00281, allocations: 12.03 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.002887, allocations: 9.422 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.002969, allocations: 130.3 kB / 0.8807 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-06/0.002973, allocations: 4.312 kB / 0.8807 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-06/0.002978, allocations: 384 / 0.8807 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.048e-05/0.003038, allocations: 50.95 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-06/0.003042, allocations: 1.531 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-06/0.003046, allocations: 384 / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003051, allocations: 3.938 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.003071, allocations: 7.984 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.00323, allocations: 248.9 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.003267, allocations: 39.03 kB / 0.8811 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.003284, allocations: 12.41 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.00329, allocations: 1.594 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.003306, allocations: 41.33 kB / 0.8811 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 4.91e-07/0.003306, allocations: 0 / 0.8811 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 8.432e-05/0.00339, allocations: 40.27 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.00341, allocations: 59.33 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.003464, allocations: 161.9 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.003472, allocations: 25.7 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.003505, allocations: 134.9 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.003514, allocations: 7.953 kB / 0.8815 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.003536, allocations: 19.38 kB / 0.8816 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.003628, allocations: 494.1 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.003637, allocations: 3.984 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.003645, allocations: 4 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.003665, allocations: 15.69 kB / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.003666, allocations: 4.656 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.963e-05/0.003706, allocations: 43.25 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.003716, allocations: 11.94 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.003719, allocations: 3.984 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.003725, allocations: 0 / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.003761, allocations: 4 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.003763, allocations: 0.5 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.003775, allocations: 5.031 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.003778, allocations: 0 / 0.8821 GB, free: 2.105 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 4.538e-05/0.003824, allocations: 156.8 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.003836, allocations: 7.938 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.003848, allocations: 11.61 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-07/0.003849, allocations: 0 / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.00385, allocations: 0 / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-06/0.003852, allocations: 0 / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.369e-05/0.003925, allocations: 116.6 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.003926, allocations: 0 / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.003939, allocations: 4 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.003939, allocations: 0 / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.003943, allocations: 3.938 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.003945, allocations: 4 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.003946, allocations: 7.984 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.004e-05/0.004016, allocations: 191.8 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-06/0.00402, allocations: 4 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-06/0.004027, allocations: 3.938 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.004053, allocations: 0 / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.004069, allocations: 11.98 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.004071, allocations: 4 kB / 0.8826 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.00411, allocations: 123.2 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00411, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001292/0.004239, allocations: 4 kB / 0.8827 GB, free: 1.402 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 5.314e-05/0.004292, allocations: 103.3 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.004364, allocations: 15.69 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004365, allocations: 4 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.004377, allocations: 11.62 kB / 0.8829 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.004518, allocations: 4 kB / 0.8829 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.004881, allocations: 142.3 kB / 0.883 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.00491, allocations: 55.36 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.004926, allocations: 0 / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.004947, allocations: 8.5 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.004947, allocations: 4 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of Templates: time 0.001711/0.006659, allocations: 342.4 kB / 0.8834 GB, free: 0.6953 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] 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","",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.941514668986201]