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.006676/0.006677, allocations: 104.2 kB / 15.74 MB, free: 6.039 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.00146/0.00146, allocations: 200 kB / 16.68 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.143, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002946/1.146, allocations: 1.424 MB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007171/1.147, allocations: 393.1 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/1.147, allocations: 1.031 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/1.147, allocations: 4.453 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/1.147, allocations: 5.562 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/1.147, allocations: 16.98 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.81e-05/1.147, allocations: 28.06 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/1.147, allocations: 4.391 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/1.147, allocations: 11.7 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/1.147, allocations: 18.25 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/1.147, allocations: 1.031 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/1.147, allocations: 2.406 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/1.147, allocations: 1.266 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/1.147, allocations: 16.25 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.888e-05/1.148, allocations: 23.38 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.148, allocations: 1.188 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/1.148, allocations: 0.5625 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.148, allocations: 0 / 1.09 GB, free: 4.207 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.0004231/1.148, allocations: 344.5 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.148, allocations: 9.25 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/1.148, allocations: 2.891 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/1.148, allocations: 168.2 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/1.148, allocations: 384 / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/1.148, allocations: 1.625 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/1.148, allocations: 46.89 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/1.148, allocations: 0 / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.148, allocations: 1.094 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/1.148, allocations: 0 / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/1.148, allocations: 27.27 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/1.149, allocations: 251.2 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/1.149, allocations: 30.14 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/1.149, allocations: 20.02 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/1.149, allocations: 4 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.149, allocations: 32.33 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/1.149, allocations: 0 / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002642/1.149, allocations: 60.12 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/1.149, allocations: 52.53 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/1.15, allocations: 104.3 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/1.15, allocations: 30.27 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/1.15, allocations: 86.27 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/1.15, allocations: 7.734 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/1.15, allocations: 20.97 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/1.15, allocations: 312.7 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/1.15, allocations: 7.906 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/1.15, allocations: 11.28 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/1.15, allocations: 36.16 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.15, allocations: 0 / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/1.15, allocations: 55.11 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.15, allocations: 4.219 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.15, allocations: 1.734 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.15, allocations: 0 / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/1.15, allocations: 5.781 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.15, allocations: 1.156 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/1.15, allocations: 6.656 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/1.15, allocations: 8.578 kB / 1.091 GB, free: 2.492 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 6.121e-05/1.15, allocations: 116.4 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/1.15, allocations: 2.891 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/1.15, allocations: 5.219 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.15, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.15, allocations: 0.7031 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.15, allocations: 5.078 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/1.151, allocations: 163.7 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.151, allocations: 5.547 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/1.151, allocations: 9.516 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.151, allocations: 3.938 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.151, allocations: 1.609 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/1.151, allocations: 0 / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.151, allocations: 4.844 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/1.151, allocations: 149.6 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/1.151, allocations: 83.38 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/1.151, allocations: 4.875 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/1.151, allocations: 2.781 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/1.151, allocations: 2.188 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.151, allocations: 1.062 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.952e-05/1.151, allocations: 85.83 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 1.094 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00021/1.151, allocations: 2.625 kB / 1.092 GB, free: 1.824 MB / 0.8575 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.0001114/1.151, allocations: 101.4 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001461/1.151, allocations: 26.2 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.151, allocations: 0 / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/1.152, allocations: 14.3 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/1.152, allocations: 9.656 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/1.152, allocations: 112.7 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/1.152, allocations: 0.6811 MB / 1.093 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.067e-05/1.152, allocations: 1.984 kB / 1.093 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/1.152, allocations: 9.281 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.152, allocations: 3.938 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of Templates: time 0.002748/1.155, allocations: 310 kB / 1.093 GB, free: 0.8359 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/jenkins/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