Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 63.91 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3844, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002897/0.3873, allocations: 1.442 MB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.388, allocations: 412 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.3881, allocations: 0 / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.3881, allocations: 0 / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.3882, allocations: 7.938 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.3883, allocations: 11.98 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.3884, allocations: 23.86 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3885, allocations: 8 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.3886, allocations: 11.92 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.3886, allocations: 15.92 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3887, allocations: 0 / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.3887, allocations: 4 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.3887, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.3887, allocations: 15.92 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.067e-05/0.3888, allocations: 23.86 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3888, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.835e-06/0.3888, allocations: 3.984 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3888, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 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.0005093/0.3893, allocations: 335.4 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3894, allocations: 8.031 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3894, allocations: 4.938 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3896, allocations: 164.3 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3896, allocations: 12.25 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3896, allocations: 8.375 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3898, allocations: 49.92 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3898, allocations: 0 / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3898, allocations: 4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3898, allocations: 0 / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.3899, allocations: 15.98 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3903, allocations: 252.9 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.857e-05/0.3904, allocations: 30.56 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.3904, allocations: 24.84 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3904, allocations: 3.984 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3905, allocations: 34.55 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3905, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002531/0.3907, allocations: 61.69 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3908, allocations: 55.41 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.391, allocations: 101.8 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.391, allocations: 25.7 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.391, allocations: 88.14 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3911, allocations: 3.953 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3911, allocations: 17.7 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.3913, allocations: 315 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.3914, allocations: 15.92 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.3914, allocations: 8 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.3915, allocations: 28.78 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3915, allocations: 0 / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000111/0.3916, allocations: 49.69 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3916, allocations: 4 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3916, allocations: 4.094 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3916, allocations: 0 / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.3917, allocations: 7.984 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3917, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.3917, allocations: 11.95 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3918, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 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 9.635e-05/0.3918, allocations: 113.7 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3919, allocations: 4 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.3919, allocations: 11.77 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3919, allocations: 3.938 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3919, allocations: 4 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3919, allocations: 0 / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.3922, allocations: 165.6 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3922, allocations: 0 / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.3923, allocations: 7.984 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3923, allocations: 3.938 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3923, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3923, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3923, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.3925, allocations: 147.5 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3926, allocations: 89.05 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3926, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.3926, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3927, allocations: 11.94 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3927, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.3927, allocations: 87.3 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3927, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002109/0.393, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 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.0001339/0.3931, allocations: 99.25 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.3932, allocations: 19.98 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3932, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.3933, allocations: 11.98 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3935, allocations: 12.06 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.3938, allocations: 126.4 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3942, allocations: 0.6768 MB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.3942, allocations: 4 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.3943, allocations: 11.44 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.3943, allocations: 0 / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of Templates: time 0.002685/0.3969, allocations: 324.3 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.20341310929507]