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.001417/0.001417, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.001551/0.001551, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.452/1.452, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.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 2.898/2.898, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.661e-05, allocations: 13.25 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002619/0.002645, allocations: 1.453 MB / 1.002 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.003478, allocations: 438.9 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.003531, allocations: 0 / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.003561, allocations: 3.984 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.003605, allocations: 7.922 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.003807, allocations: 11.98 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003917, allocations: 35.8 kB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.004004, allocations: 4 kB / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.004153, allocations: 23.97 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.004199, allocations: 11.92 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.004213, allocations: 4 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.982e-05/0.004253, allocations: 4 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.004268, allocations: 8 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.004285, allocations: 0 / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.004398, allocations: 35.83 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004401, allocations: 0 / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004402, allocations: 0 / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.004407, allocations: 7.984 kB / 1.002 GB, free: 5.219 MB / 0.9512 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.0005328/0.00494, allocations: 258.3 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.004977, allocations: 8.031 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.005128, allocations: 20.88 kB / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.005341, allocations: 105.8 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005353, allocations: 4.312 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.005364, allocations: 8.359 kB / 1.003 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005501, allocations: 38.25 kB / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.00551, allocations: 4.188 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.005518, allocations: 4.312 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.005525, allocations: 3.938 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.005611, allocations: 15.98 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.005914, allocations: 196.6 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.006018, allocations: 38.53 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.006075, allocations: 20.91 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.006089, allocations: 0 / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.006126, allocations: 34.5 kB / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.006127, allocations: 4 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000246/0.006373, allocations: 61.62 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.006421, allocations: 63.41 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006521, allocations: 101.9 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.006543, allocations: 29.7 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.006599, allocations: 88.06 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.006618, allocations: 7.953 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.006652, allocations: 13.72 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.006795, allocations: 314.8 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.006841, allocations: 11.98 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.006872, allocations: 4 kB / 1.004 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.006952, allocations: 28.91 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.006959, allocations: 8 kB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001218/0.007081, allocations: 49.67 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.0071, allocations: 15.88 kB / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007104, allocations: 0 / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.007118, allocations: 0 / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.007191, allocations: 4 kB / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.007196, allocations: 0 / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.007231, allocations: 8.031 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.007239, allocations: 3.984 kB / 1.004 GB, free: 3.5 MB / 0.9512 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.776e-05/0.007327, allocations: 110.4 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.007357, allocations: 11.89 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.007377, allocations: 3.625 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007379, allocations: 0 / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.007382, allocations: 0 / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.007384, allocations: 0 / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.007528, allocations: 113.3 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007529, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.007571, allocations: 4 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007575, allocations: 4 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.007587, allocations: 7.922 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007588, allocations: 0 / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.00759, allocations: 0 / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.00779, allocations: 155.4 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.007799, allocations: 3.953 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.007815, allocations: 3.938 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.007878, allocations: 7.984 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.007911, allocations: 3.938 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.007915, allocations: 4.031 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.676e-05/0.007982, allocations: 87.28 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.007982, allocations: 0 / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00022/0.008202, allocations: 7.984 kB / 1.004 GB, free: 2.926 MB / 0.9512 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.0001469/0.008349, allocations: 91.25 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.008501, allocations: 23.98 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.008503, allocations: 0 / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.008552, allocations: 16 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.008778, allocations: 7.984 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.009134, allocations: 120.8 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.913e-05/0.009203, allocations: 63.34 kB / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.009228, allocations: 0 / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.009258, allocations: 8.5 kB / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.009258, allocations: 0 / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of Templates: time 0.002745/0.012, allocations: 322 kB / 1.005 GB, free: 2.234 MB / 0.9512 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/jenkins/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: 7.98571265116334]