Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 97.11 kB / 19.71 MB, free: 2.109 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.001486/0.001486, allocations: 215.8 kB / 23.01 MB, free: 4.918 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00205/0.00205, allocations: 71.11 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4454, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002819/0.4482, allocations: 1.464 MB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.449, allocations: 435 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.4491, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.4491, allocations: 7.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.4492, allocations: 3.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.4494, allocations: 19.91 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4495, allocations: 27.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.4496, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.4497, allocations: 23.91 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.4498, allocations: 8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.4498, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.4498, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.4499, allocations: 7.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.4499, allocations: 15.92 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.45, allocations: 35.83 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.45, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.45, allocations: 7.875 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.45, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 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.000432/0.4504, allocations: 259.2 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4505, allocations: 8.031 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.4506, allocations: 16.88 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4509, allocations: 110.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4509, allocations: 12.36 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.4509, allocations: 384 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.451, allocations: 46 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.451, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.451, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.451, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.4511, allocations: 19.98 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.4514, allocations: 200.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.4515, allocations: 30.52 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.4516, allocations: 24.91 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4516, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4516, allocations: 34.56 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4516, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000231/0.4518, allocations: 61.61 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4519, allocations: 51.41 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.452, allocations: 105.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.452, allocations: 29.7 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.4521, allocations: 88.27 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.4521, allocations: 7.891 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.4521, allocations: 17.72 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4523, allocations: 314.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.4523, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.4524, allocations: 11.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.694e-05/0.4525, allocations: 20.86 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4525, allocations: 7.922 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.4526, allocations: 65.58 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4526, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4526, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4526, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.4527, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4527, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.4527, allocations: 7.984 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4527, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 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.0001007/0.4528, allocations: 114.4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.4529, allocations: 7.969 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.4529, allocations: 3.625 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4529, allocations: 3.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4529, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.4529, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.4529, allocations: 3.984 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.453, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.453, allocations: 4 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001902/0.4532, allocations: 140.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002438/0.4535, allocations: 222.8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.016e-05/0.4535, allocations: 19.98 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.4536, allocations: 87.58 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Backend: time 2.31e-07/0.4536, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004151/0.454, allocations: 94.31 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005944/0.4546, allocations: 0.5663 MB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of Templates: time 0.003087/0.4577, allocations: 0.4944 MB / 1.332 GB, free: 11.41 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.344050050000078]