Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.00121/0.00121, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001878/0.003088, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00156/0.00156, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.003337, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.9879/0.9879, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09746/1.085, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.387/2.387, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2524/2.639, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.444e-05, allocations: 4.281 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002964/0.002988, allocations: 1.553 MB / 0.8204 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.003769, allocations: 466.7 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.003824, allocations: 0 / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.003849, allocations: 7.922 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.754e-05/0.003877, allocations: 3.938 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.00398, allocations: 15.92 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.004069, allocations: 31.86 kB / 0.8209 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.004152, allocations: 3.984 kB / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.004307, allocations: 31.91 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.004366, allocations: 15.92 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004385, allocations: 4 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.004446, allocations: 4 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.004462, allocations: 4 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.004481, allocations: 11.94 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.004604, allocations: 15.98 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.004618, allocations: 0 / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.764e-06/0.00462, allocations: 0 / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.004636, allocations: 0 / 0.821 GB, free: 312 kB / 0.7917 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.0004214/0.005057, allocations: 248.5 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.005097, allocations: 12.03 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.005319, allocations: 90.03 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.005491, allocations: 117.7 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.005508, allocations: 8.375 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.005521, allocations: 384 / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.005629, allocations: 46.95 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005636, allocations: 192 / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.005643, allocations: 384 / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.00565, allocations: 3.938 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.005671, allocations: 4 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.005893, allocations: 164.1 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.005947, allocations: 18.58 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.005965, allocations: 4.859 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.005978, allocations: 4.062 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.006009, allocations: 34.59 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.00601, allocations: 0 / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.00615, allocations: 41.58 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.006184, allocations: 51.41 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.006263, allocations: 114.8 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.006275, allocations: 29.7 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.006317, allocations: 92.12 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.006339, allocations: 3.953 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.006376, allocations: 17.7 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.006489, allocations: 314.8 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.006503, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.006512, allocations: 4 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.006546, allocations: 12.84 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.00655, allocations: 4 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.855e-05/0.006618, allocations: 41.7 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.006634, allocations: 4 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006639, allocations: 0 / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.006655, allocations: 7.938 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.006731, allocations: 7.984 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.006734, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.006753, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.006758, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 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 7.155e-05/0.006829, allocations: 117.8 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.00685, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.006875, allocations: 11.64 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006878, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00688, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006883, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.006998, allocations: 61.91 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.007038, allocations: 7.984 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.007048, allocations: 4 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.00705, allocations: 3.938 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.007055, allocations: 3.938 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.007058, allocations: 3.938 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.00706, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.007168, allocations: 131.5 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.00718, allocations: 4 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.007231, allocations: 0 / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.007263, allocations: 11.91 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.007266, allocations: 0 / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.007294, allocations: 16.84 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007294, allocations: 0 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001908/0.007485, allocations: 4 kB / 0.8228 GB, free: 14.22 MB / 0.8073 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.0001123/0.007597, allocations: 84.44 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.988e-05/0.007667, allocations: 12.8 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.007675, allocations: 4 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.007698, allocations: 12.86 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.007858, allocations: 10.23 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.008749, allocations: 128.7 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.008794, allocations: 55.36 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.008818, allocations: 7.984 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.00887, allocations: 47.38 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.008871, allocations: 3.938 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.002476/0.01135, allocations: 343.3 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.148193328641355]