Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001031/0.001031, allocations: 161 kB / 23.82 MB, free: 0.75 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.937/0.937, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.763/1.763, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.458e-05, allocations: 9.25 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00212/0.002144, allocations: 1.489 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.00286, allocations: 465.1 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.002915, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.002944, allocations: 4.844 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.002993, allocations: 7.938 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.003207, allocations: 13.11 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.003304, allocations: 31.8 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.003388, allocations: 4.531 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.00351, allocations: 27.91 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.00355, allocations: 13.45 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.003564, allocations: 4 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.003602, allocations: 4 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.003612, allocations: 4 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.003631, allocations: 9.391 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.294e-05/0.003724, allocations: 19.91 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.003734, allocations: 4 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/0.003735, allocations: 3.031 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.00374, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 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.0003175/0.004057, allocations: 360.6 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004093, allocations: 8.031 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.004218, allocations: 16.92 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.004355, allocations: 120.5 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.004365, allocations: 384 / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.004374, allocations: 5.562 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.004481, allocations: 54.94 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.004487, allocations: 192 / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004497, allocations: 384 / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.004504, allocations: 4.531 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.00453, allocations: 4.719 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.004789, allocations: 251.8 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.004846, allocations: 35.48 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.004871, allocations: 13.34 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.004885, allocations: 0 / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.004909, allocations: 37.33 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.00491, allocations: 0.625 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.005061, allocations: 50.33 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.00509, allocations: 55.41 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.005168, allocations: 166.5 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005178, allocations: 25.7 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.005222, allocations: 131.4 kB / 0.7904 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.005239, allocations: 4.672 kB / 0.7904 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.005266, allocations: 19.38 kB / 0.7904 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.005378, allocations: 0.4897 MB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.005392, allocations: 4 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.0054, allocations: 0 / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.00543, allocations: 13.44 kB / 0.7909 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.005433, allocations: 7.938 kB / 0.7909 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.415e-05/0.005497, allocations: 45.62 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.005511, allocations: 9.344 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005516, allocations: 2.375 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.00553, allocations: 0 / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.005601, allocations: 4 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.005607, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.005625, allocations: 4 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.005631, allocations: 4.312 kB / 0.791 GB, free: 8.262 MB / 0.7448 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.81e-05/0.00569, allocations: 158.5 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.005706, allocations: 11.89 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.005725, allocations: 7.625 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.005727, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.00573, allocations: 0.5 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005732, allocations: 0 / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.635e-05/0.005819, allocations: 125.1 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.00582, allocations: 1.75 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.005838, allocations: 4 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.00584, allocations: 0 / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.005847, allocations: 3.938 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005848, allocations: 0 / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.005849, allocations: 2.281 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.724e-05/0.005946, allocations: 191.9 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.005953, allocations: 3.953 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.005963, allocations: 3.938 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.005992, allocations: 7.984 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.006017, allocations: 0.5312 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.00602, allocations: 0 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.006056, allocations: 128.3 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006056, allocations: 4 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001346/0.006191, allocations: 4 kB / 0.7916 GB, free: 7.562 MB / 0.7448 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 7.943e-05/0.00627, allocations: 100.6 kB / 0.7917 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.006349, allocations: 20.47 kB / 0.7918 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00635, allocations: 0 / 0.7918 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.006364, allocations: 13.59 kB / 0.7918 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.006513, allocations: 3.984 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.006938, allocations: 134.8 kB / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.00697, allocations: 51.36 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.006988, allocations: 5.094 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.007014, allocations: 12.48 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.007015, allocations: 1.062 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.001914/0.008929, allocations: 346.3 kB / 0.7923 GB, free: 6.844 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.803282896056771]