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.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.001473/0.001473, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001494/0.001494, allocations: 192.8 kB / 22.17 MB, free: 5.652 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.484/1.484, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002052/0.002052, allocations: 67.89 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.081, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002936/1.083, allocations: 1.441 MB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006875/1.084, allocations: 403.1 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/1.084, allocations: 3.938 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/1.084, allocations: 3.938 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/1.084, allocations: 7.938 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/1.084, allocations: 11.98 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/1.085, allocations: 19.94 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/1.085, allocations: 7.984 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/1.085, allocations: 11.98 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/1.085, allocations: 11.92 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/1.085, allocations: 0 / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/1.085, allocations: 4 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/1.085, allocations: 11.88 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/1.085, allocations: 11.94 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.101e-05/1.085, allocations: 22.64 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.085, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/1.085, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.085, allocations: 3.938 kB / 1.276 GB, free: 2.457 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.0004973/1.085, allocations: 343.3 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.085, allocations: 8.031 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/1.086, allocations: 4.938 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.086, allocations: 164.3 kB / 1.276 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.086, allocations: 4.375 kB / 1.276 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/1.086, allocations: 4.375 kB / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/1.086, allocations: 46 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.086, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.086, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.086, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/1.086, allocations: 23.92 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/1.086, allocations: 252.9 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/1.086, allocations: 32.19 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/1.087, allocations: 20.91 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.087, allocations: 0 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.087, allocations: 30.56 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/1.087, allocations: 0 / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002541/1.087, allocations: 65.61 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.087, allocations: 55.41 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/1.087, allocations: 101.8 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.087, allocations: 29.7 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/1.087, allocations: 84.14 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/1.087, allocations: 3.953 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/1.087, allocations: 17.72 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.087, allocations: 318.9 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/1.087, allocations: 8 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/1.087, allocations: 15.98 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/1.087, allocations: 32.72 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.087, allocations: 0 / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/1.088, allocations: 53.64 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.088, allocations: 4 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/1.088, allocations: 4.094 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.088, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/1.088, allocations: 4 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.088, allocations: 0 / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/1.088, allocations: 12.17 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.088, allocations: 4 kB / 1.278 GB, free: 0.5234 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 8.601e-05/1.088, allocations: 113.7 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/1.088, allocations: 4 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/1.088, allocations: 7.531 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.088, allocations: 4 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.088, allocations: 0 / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/1.088, allocations: 0 / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/1.088, allocations: 165.6 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.088, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/1.088, allocations: 7.938 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/1.088, allocations: 3.984 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.088, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/1.088, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.088, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/1.088, allocations: 155.5 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/1.088, allocations: 85.06 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/1.088, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/1.088, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/1.088, allocations: 7.938 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.088, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.846e-05/1.088, allocations: 83.31 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.088, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002135/1.089, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 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.0001295/1.089, allocations: 103.7 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001547/1.089, allocations: 23.98 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.089, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/1.089, allocations: 4 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/1.089, allocations: 16.06 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/1.09, allocations: 122.5 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.09, allocations: 0.6844 MB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.188e-05/1.09, allocations: 4 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/1.09, allocations: 7.438 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/1.09, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.00263/1.093, allocations: 325.5 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.279337814077735]