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.00154/0.00154, allocations: 115.7 kB / 17.13 MB, free: 5.941 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.001703/0.001703, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.467/1.467, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.66/2.66, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 176] 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.001938/0.001938, allocations: 67.89 kB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3615, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002864/0.3644, allocations: 1.431 MB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.3651, allocations: 403.9 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.3651, allocations: 0 / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3652, allocations: 3.938 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.3652, allocations: 3.938 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.3654, allocations: 19.91 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.3655, allocations: 19.88 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3656, allocations: 11.98 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.3657, allocations: 8 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.3657, allocations: 11.92 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3657, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3658, allocations: 8 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.3658, allocations: 4 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.3658, allocations: 11.92 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.931e-05/0.3659, allocations: 27.78 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3659, allocations: 4 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3659, allocations: 0 / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3659, allocations: 0 / 1.216 GB, free: 14.9 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.0004932/0.3664, allocations: 335.4 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3665, allocations: 12.03 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.3665, allocations: 4.938 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3667, allocations: 168.3 kB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3667, allocations: 4.375 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3667, allocations: 384 / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3668, allocations: 46 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3668, allocations: 3.938 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3669, allocations: 0 / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3669, allocations: 0 / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.367, allocations: 23.92 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.3673, allocations: 256.9 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.3674, allocations: 26.58 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3675, allocations: 16.91 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3675, allocations: 0 / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3676, allocations: 34.56 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3676, allocations: 4 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002538/0.3678, allocations: 61.61 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3679, allocations: 55.41 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.368, allocations: 105.8 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.368, allocations: 25.7 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.368, allocations: 84.14 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.368, allocations: 3.953 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.3681, allocations: 17.84 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3682, allocations: 318.8 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.3683, allocations: 4 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.3683, allocations: 11.98 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.3684, allocations: 28.78 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3684, allocations: 7.875 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.3685, allocations: 57.75 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3685, allocations: 5.562 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3685, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3685, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.3686, allocations: 4.25 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3686, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3687, allocations: 15.94 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3687, allocations: 0 / 1.218 GB, free: 12.97 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 0.0001033/0.3688, allocations: 117.8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.3688, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.3688, allocations: 7.531 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3688, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3688, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3688, allocations: 4 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.369, allocations: 165.5 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.369, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.3691, allocations: 4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3691, allocations: 3.938 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3691, allocations: 4 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3691, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3691, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3693, allocations: 151.5 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.3693, allocations: 85.05 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3693, allocations: 4 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.3694, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.3694, allocations: 12.02 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3694, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.3695, allocations: 79.28 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3695, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002111/0.3697, allocations: 8 kB / 1.218 GB, free: 12.24 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.000124/0.3698, allocations: 99.23 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.37, allocations: 27.92 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.37, allocations: 4.062 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.37, allocations: 8 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.3702, allocations: 3.938 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3706, allocations: 152.2 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3709, allocations: 0.6768 MB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.3709, allocations: 11.44 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.3709, allocations: 0 / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.002071/0.373, allocations: 0.5295 MB / 1.22 GB, free: 10.68 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.612612029071897]