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.001342/0.001342, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001487/0.001487, allocations: 187 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.09 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.258/2.258, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8869, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002475/0.8894, allocations: 1.413 MB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006037/0.89, allocations: 395.9 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.8901, allocations: 4 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.8901, allocations: 0.6094 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.8902, allocations: 5.734 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.8903, allocations: 8.422 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.8904, allocations: 33.09 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.8905, allocations: 5.078 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.8906, allocations: 13.91 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.8907, allocations: 15.06 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.8907, allocations: 5.062 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-06/0.8907, allocations: 2.156 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.8907, allocations: 1.672 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.8908, allocations: 11.17 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.546e-05/0.8908, allocations: 24.69 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8909, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8909, allocations: 4.453 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.8909, allocations: 1.062 kB / 1.09 GB, free: 4.457 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.0003469/0.8912, allocations: 329.9 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8913, allocations: 8.844 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.8913, allocations: 7.594 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.477e-05/0.8914, allocations: 176 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.8914, allocations: 8.312 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.8914, allocations: 1.531 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.8916, allocations: 46.67 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.8916, allocations: 0 / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.8916, allocations: 1.875 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8916, allocations: 0 / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.8917, allocations: 18.5 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.892, allocations: 255.6 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.746e-05/0.8921, allocations: 33.81 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.8921, allocations: 19.61 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.8921, allocations: 1.062 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.8921, allocations: 36.3 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8922, allocations: 0 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002242/0.8924, allocations: 60.36 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.8924, allocations: 55.95 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.8925, allocations: 104.5 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.8925, allocations: 25.7 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.8925, allocations: 82.91 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.8926, allocations: 10.11 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.8926, allocations: 19.83 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.8926, allocations: 313.7 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.8927, allocations: 11.52 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.8927, allocations: 7.844 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.8928, allocations: 28.08 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8928, allocations: 4.062 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.8929, allocations: 50.22 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.893, allocations: 5.438 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.893, allocations: 4.906 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.893, allocations: 3.984 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.8931, allocations: 6.422 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8931, allocations: 0.9688 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.8931, allocations: 5.594 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.8931, allocations: 5.828 kB / 1.092 GB, free: 2.738 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.247e-05/0.8932, allocations: 123 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.8932, allocations: 1.062 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.8932, allocations: 5.922 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8933, allocations: 4.938 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8933, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8933, allocations: 1.578 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.8934, allocations: 160.2 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8934, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.8935, allocations: 6.5 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8935, allocations: 4 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.8935, allocations: 5.766 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8935, allocations: 4 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8935, allocations: 0 / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.8936, allocations: 154.7 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.8937, allocations: 82.27 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.8937, allocations: 1.609 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.8938, allocations: 6.047 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.8938, allocations: 1.984 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.8938, allocations: 1.547 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.8939, allocations: 86.45 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8939, allocations: 0 / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002108/0.8941, allocations: 3.719 kB / 1.093 GB, free: 2.07 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.0001018/0.8942, allocations: 97.5 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.8943, allocations: 29.38 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8943, allocations: 0.7188 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.8944, allocations: 17.2 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.8946, allocations: 8.016 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.8949, allocations: 139.7 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.895, allocations: 0.6776 MB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.895, allocations: 13.27 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.895, allocations: 0 / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.001981/0.897, allocations: 0.5067 MB / 1.094 GB, free: 1.09 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