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: 105.5 kB / 16.41 MB, free: 6.508 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.001354/0.001353, allocations: 187 kB / 17.34 MB, free: 5.742 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 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.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 75.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7848, 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.002502/0.7874, allocations: 1.423 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005829/0.788, allocations: 396.3 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.788, allocations: 1.156 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.7881, allocations: 0.7031 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.7881, allocations: 9.828 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.7883, allocations: 12.05 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.7883, allocations: 25.39 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.7885, allocations: 8.078 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.7885, allocations: 11.3 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.7886, allocations: 18.09 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7886, allocations: 5.188 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.7887, allocations: 2.094 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.7887, allocations: 2.031 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.7887, allocations: 12.22 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.7888, allocations: 23.05 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7888, allocations: 0.9688 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7888, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.7888, 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.0003752/0.7892, allocations: 340.6 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.7893, allocations: 9.812 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.7893, allocations: 6.766 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.7894, allocations: 172 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.7894, allocations: 1.469 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.7894, allocations: 1.5 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.7895, allocations: 46.31 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.7895, allocations: 0 / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.7895, allocations: 0.9062 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.7895, allocations: 4 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.7896, allocations: 28.06 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.7899, allocations: 246.6 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.79, allocations: 34.03 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.79, allocations: 19.77 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.79, allocations: 4 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.7901, allocations: 32.02 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7901, allocations: 1.031 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.7903, allocations: 64.12 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.7903, allocations: 52.59 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.7904, allocations: 108 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.7904, allocations: 30.77 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.7904, allocations: 81.83 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.7904, allocations: 11.38 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.7905, allocations: 16.62 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.7905, allocations: 313.1 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.7905, allocations: 11.98 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.7906, allocations: 7.328 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.7907, allocations: 32.47 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7907, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/0.7908, allocations: 53.88 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7908, allocations: 6.125 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7908, allocations: 0.7031 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7908, allocations: 0 / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.7909, allocations: 10.17 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7909, allocations: 1.062 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.7909, allocations: 9.641 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.791, allocations: 1.609 kB / 1.092 GB, free: 2.484 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 4.421e-05/0.791, allocations: 116.6 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.791, allocations: 1.797 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.791, allocations: 5.75 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7911, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7911, allocations: 2.203 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.7911, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.7912, allocations: 159.8 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7912, allocations: 4.25 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.7912, allocations: 13.62 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7912, allocations: 5.438 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7913, allocations: 0.75 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7913, allocations: 1 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7913, allocations: 0.7969 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.7914, allocations: 148.9 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.7914, allocations: 87.84 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.7914, allocations: 0.5156 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.7915, allocations: 2.922 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.7915, allocations: 1.812 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.7915, allocations: 1.625 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.7916, allocations: 86.02 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7916, allocations: 0 / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002117/0.7918, allocations: 3.875 kB / 1.093 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 7.48e-05/0.7919, allocations: 101.3 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.792, allocations: 22.77 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.792, allocations: 0 / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.7921, allocations: 16.7 kB / 1.093 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.0002081/0.7923, allocations: 9.984 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.7925, allocations: 137.8 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.691e-05/0.7926, allocations: 0.6814 MB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.7927, allocations: 8.781 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.7927, allocations: 0.9688 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of Templates: time 0.001821/0.7945, allocations: 0.5107 MB / 1.094 GB, free: 0.8438 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