Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.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.001738/0.001738, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001909/0.001909, allocations: 214.6 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 64.91 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3373, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002757/0.34, allocations: 1.467 MB / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000826/0.3409, allocations: 470.9 kB / 1.356 GB, free: 6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.3409, allocations: 4 kB / 1.356 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.3409, allocations: 3.938 kB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.341, allocations: 3.938 kB / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3412, allocations: 15.98 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3413, allocations: 31.86 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.3414, allocations: 11.97 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3415, allocations: 15.94 kB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.3416, allocations: 15.92 kB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3416, allocations: 4 kB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.954e-05/0.3416, allocations: 4 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.3416, allocations: 4 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.3416, allocations: 15.92 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3418, allocations: 23.84 kB / 1.356 GB, free: 5.848 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3418, allocations: 8 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3418, allocations: 0 / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3418, allocations: 0 / 1.356 GB, free: 5.84 MB / 1.045 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.0004031/0.3422, allocations: 270.2 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3422, allocations: 8.031 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.3424, allocations: 20.8 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.3425, allocations: 110.5 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3426, allocations: 4.375 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.3426, allocations: 8.375 kB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3427, allocations: 49.97 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3427, allocations: 0 / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3427, allocations: 4 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3427, allocations: 0 / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.3428, allocations: 15.98 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.3432, allocations: 223.9 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.3432, allocations: 30.56 kB / 1.357 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.3433, allocations: 16.92 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3433, allocations: 0 / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3433, allocations: 30.56 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3433, allocations: 0 / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000228/0.3436, allocations: 69.7 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.3436, allocations: 55.41 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.3437, allocations: 109.8 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3437, allocations: 25.7 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.3438, allocations: 84.14 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3438, allocations: 11.88 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3439, allocations: 13.72 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.344, allocations: 314.8 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.344, allocations: 16.02 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.3441, allocations: 8 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/0.3442, allocations: 28.78 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3442, allocations: 0 / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000124/0.3443, allocations: 57.58 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3443, allocations: 4 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3443, allocations: 4.094 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3443, allocations: 4 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.3444, allocations: 7.984 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3444, allocations: 0 / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.3444, allocations: 0 / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3444, allocations: 0 / 1.358 GB, free: 4.082 MB / 1.045 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.724e-05/0.3445, allocations: 117.7 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3445, allocations: 3.938 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.3446, allocations: 15.61 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3446, allocations: 4 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3446, allocations: 0 / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3446, allocations: 4 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3447, allocations: 128.7 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3447, allocations: 3.938 kB / 1.358 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.3448, allocations: 7.984 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3448, allocations: 4 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3448, allocations: 0 / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3448, allocations: 0 / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3448, allocations: 3.938 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.345, allocations: 155.4 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.345, allocations: 7.984 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.345, allocations: 0 / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.345, allocations: 0 / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.3451, allocations: 0 / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3451, allocations: 4 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.3451, allocations: 87.27 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3451, allocations: 4.031 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002129/0.3453, allocations: 4 kB / 1.358 GB, free: 3.469 MB / 1.045 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.0001129/0.3455, allocations: 95.25 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3456, allocations: 23.92 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3456, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.3456, allocations: 11.98 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3458, allocations: 17.56 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3462, allocations: 142.5 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3465, allocations: 0.6807 MB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.3465, allocations: 7.438 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3465, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of Templates: time 0.00193/0.3485, allocations: 0.554 MB / 1.36 GB, free: 1.883 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.16615636399365]