Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 117.8 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 186.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 55.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8794, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002523/0.882, allocations: 1.436 MB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.8827, allocations: 394.9 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.8827, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.8828, allocations: 1.703 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.8828, allocations: 3.938 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.883, allocations: 14 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.8831, allocations: 24.17 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.8832, allocations: 8.266 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.8833, allocations: 10.86 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.8834, allocations: 15.16 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.8834, allocations: 5.25 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.8834, allocations: 1.312 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.8835, allocations: 1.5 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.8835, allocations: 16.33 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.964e-05/0.8836, allocations: 28.14 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8836, allocations: 0 / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8836, allocations: 1.188 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.8836, allocations: 0 / 1.091 GB, free: 4.195 MB / 0.8575 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.000379/0.884, allocations: 336.8 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.884, allocations: 12.97 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.8841, allocations: 2.25 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.8842, allocations: 167 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.8842, allocations: 6.172 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.8842, allocations: 1.156 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.8843, allocations: 46.48 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8844, allocations: 1.125 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.8844, allocations: 4 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8844, allocations: 0 / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.8845, allocations: 23.5 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.8848, allocations: 251.3 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.8848, allocations: 26.72 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.8849, allocations: 22.61 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.8849, allocations: 1.156 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.8849, allocations: 36.22 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.885, allocations: 0 / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002415/0.8852, allocations: 60.12 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.8852, allocations: 52.62 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.8853, allocations: 104.2 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.8853, allocations: 25.7 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.8853, allocations: 86.56 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.8854, allocations: 11.55 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.8854, allocations: 17.12 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.8855, allocations: 313.1 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.8855, allocations: 14.58 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.8855, allocations: 7.766 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.8856, allocations: 24.81 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8856, allocations: 8 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000106/0.8857, allocations: 49.64 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8858, allocations: 6.469 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8858, allocations: 0 / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.8858, allocations: 1.031 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.8859, allocations: 5.844 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8859, allocations: 0.7969 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.8859, allocations: 14.52 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.8859, allocations: 1.094 kB / 1.092 GB, free: 2.488 MB / 0.8575 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 5.281e-05/0.886, allocations: 121.1 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.886, allocations: 4.969 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.8861, allocations: 5.359 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8861, allocations: 0.6094 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8861, allocations: 1.062 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.8861, allocations: 86.78 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.8861, allocations: 1.547 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.8862, allocations: 2.109 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.8862, allocations: 9.531 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001329/0.8864, allocations: 131.2 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001583/0.8865, allocations: 228.9 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.752e-05/0.8866, allocations: 8.969 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.8866, allocations: 89.95 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of Backend: time 3e-07/0.8866, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.887, allocations: 87.84 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003266/0.8873, allocations: 0.569 MB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of Templates: time 0.002559/0.8899, allocations: 399.2 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches