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.001552/0.001552, allocations: 84.41 kB / 20.23 MB, free: 4.195 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.001567/0.001567, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.466/1.466, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.698/2.698, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.613e-06/1.613e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.637e-05, allocations: 6.484 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002819/0.002845, allocations: 1.452 MB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.003758, allocations: 445.1 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.00381, allocations: 4 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.003836, allocations: 4.531 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.003883, allocations: 5.312 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.004079, allocations: 23.89 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.00419, allocations: 31.86 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.004263, allocations: 1.156 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.004401, allocations: 19.98 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.00445, allocations: 11.97 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.004466, allocations: 4.812 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.004507, allocations: 4 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.004519, allocations: 4.844 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.004545, allocations: 8 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.00465, allocations: 27.91 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004652, allocations: 2.438 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004653, allocations: 0 / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004657, allocations: 7.875 kB / 0.7884 GB, free: 10.77 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.0004348/0.005092, allocations: 262.3 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.005133, allocations: 12.03 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.005291, allocations: 14.7 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.005482, allocations: 113.7 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.005492, allocations: 384 / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.0055, allocations: 384 / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005638, allocations: 50.77 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.005645, allocations: 192 / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005656, allocations: 5.094 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.005662, allocations: 3.938 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.251e-05/0.005755, allocations: 16.52 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.006087, allocations: 198.2 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.006185, allocations: 30.61 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.006251, allocations: 21.41 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.006265, allocations: 0.5938 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.006298, allocations: 34.5 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.006299, allocations: 0.7812 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002585/0.006557, allocations: 66.73 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.006603, allocations: 51.41 kB / 0.7892 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.006709, allocations: 107.2 kB / 0.7893 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.006731, allocations: 25.7 kB / 0.7893 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.006806, allocations: 96.06 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.006822, allocations: 3.953 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.006863, allocations: 15.47 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.007055, allocations: 314.8 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.007103, allocations: 11.98 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.007138, allocations: 9.219 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.007222, allocations: 20.84 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007224, allocations: 5.312 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001356/0.007359, allocations: 53.62 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.007377, allocations: 13.52 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007381, allocations: 0 / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.007397, allocations: 0 / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.007465, allocations: 4 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.007469, allocations: 6.688 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.007504, allocations: 4 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.00751, allocations: 320 / 0.7899 GB, free: 9.078 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 0.0001005/0.00761, allocations: 117.8 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.007642, allocations: 11.88 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.007657, allocations: 3.625 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.007658, allocations: 0 / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.007664, allocations: 8.5 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.007666, allocations: 0.5312 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.007826, allocations: 105.3 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007827, allocations: 1.938 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.007878, allocations: 7.938 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00788, allocations: 0 / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.007889, allocations: 3.938 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.007892, allocations: 4 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.007896, allocations: 6.578 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.008091, allocations: 143.5 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.008103, allocations: 4 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.008117, allocations: 3.938 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.008179, allocations: 0 / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.008212, allocations: 4.828 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.008215, allocations: 4 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.008276, allocations: 87.27 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008276, allocations: 0.8438 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002244/0.008501, allocations: 4 kB / 0.7904 GB, free: 8.52 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 0.0001173/0.008618, allocations: 100.5 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.008756, allocations: 24.77 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008757, allocations: 0 / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.008802, allocations: 8.719 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.009022, allocations: 10.91 kB / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.009346, allocations: 124.5 kB / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/0.009415, allocations: 63.28 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.00944, allocations: 4 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.009468, allocations: 8.5 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.009469, allocations: 2 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of Templates: time 0.002616/0.01208, allocations: 334.9 kB / 0.791 GB, free: 7.816 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.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.504124889965169]