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.001809/0.001809, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.002134/0.002134, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.668/2.668, allocations: 437.1 MB / 0.7177 GB, free: 4.484 MB / 0.5606 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.001996/0.001996, allocations: 71.88 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.337, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.0029/0.3399, allocations: 1.424 MB / 1.177 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.3408, allocations: 407 kB / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.3408, allocations: 0 / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3409, allocations: 0 / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.3409, allocations: 11.94 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.3411, allocations: 15.91 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.3412, allocations: 15.94 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3413, allocations: 11.98 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/0.3414, allocations: 8 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.3415, allocations: 11.92 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3415, allocations: 4 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.3415, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.3415, allocations: 15.94 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3416, allocations: 7.922 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.009e-05/0.3417, allocations: 23.91 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3417, allocations: 0 / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3417, allocations: 3.938 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3417, allocations: 0 / 1.178 GB, free: 3.922 MB / 0.92 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.0004892/0.3422, allocations: 339.4 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3422, allocations: 8.031 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3423, allocations: 0.9375 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3424, allocations: 176.3 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3425, allocations: 4.375 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.3425, allocations: 384 / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3426, allocations: 46 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3427, allocations: 4 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.3428, allocations: 11.98 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3432, allocations: 264.9 kB / 1.179 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.3433, allocations: 30.52 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.3433, allocations: 16.91 kB / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3433, allocations: 0 / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3434, allocations: 30.56 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3434, allocations: 0 / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002568/0.3437, allocations: 65.67 kB / 1.179 GB, free: 2.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.3437, allocations: 55.34 kB / 1.179 GB, free: 2.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.3438, allocations: 105.8 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3439, allocations: 25.7 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.3439, allocations: 92.08 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.344, allocations: 3.953 kB / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.344, allocations: 13.72 kB / 1.179 GB, free: 2.449 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3442, allocations: 323 kB / 1.179 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.3442, allocations: 4 kB / 1.179 GB, free: 2.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.3442, allocations: 11.98 kB / 1.179 GB, free: 2.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.3443, allocations: 24.78 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3443, allocations: 0 / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.3445, allocations: 57.72 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3445, allocations: 14.34 kB / 1.179 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3445, allocations: 256 / 1.179 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3445, allocations: 0 / 1.179 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.3446, allocations: 8 kB / 1.179 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3446, allocations: 3.938 kB / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.3447, allocations: 11.94 kB / 1.179 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3447, allocations: 0 / 1.179 GB, free: 1.984 MB / 0.92 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.584e-05/0.3448, allocations: 109.8 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3448, allocations: 4 kB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.3448, allocations: 11.53 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3448, allocations: 0 / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3448, allocations: 0 / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3448, allocations: 0 / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.345, allocations: 165.6 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3451, allocations: 4 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.3451, allocations: 4 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3451, allocations: 0 / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3451, allocations: 0 / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3451, allocations: 0 / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3451, allocations: 7.984 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3453, allocations: 147.4 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3454, allocations: 81.06 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3454, allocations: 8 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.3455, allocations: 3.984 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3455, allocations: 0 / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3455, allocations: 4.031 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.3456, allocations: 83.28 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3456, allocations: 0 / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002143/0.3458, allocations: 8 kB / 1.18 GB, free: 1.258 MB / 0.92 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.0001333/0.346, allocations: 99.23 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3461, allocations: 23.98 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3461, allocations: 0 / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.3462, allocations: 12 kB / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3464, allocations: 11.88 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.3468, allocations: 156.2 kB / 1.18 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3471, allocations: 0.6768 MB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.3472, allocations: 7.438 kB / 1.181 GB, free: 216 kB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3472, allocations: 0 / 1.181 GB, free: 216 kB / 0.92 GB Notification: Performance of Templates: time 0.002015/0.3492, allocations: 0.5183 MB / 1.181 GB, free: 15.7 MB / 0.9356 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.175361989997327]