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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001714/0.001714, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 65.3 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4175, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002868/0.4204, allocations: 1.49 MB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006066/0.421, allocations: 402.9 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.4211, allocations: 0 / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.4211, allocations: 7.922 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.4212, allocations: 0 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.4213, allocations: 12 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.4214, allocations: 19.92 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.4215, allocations: 15.94 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.4216, allocations: 15.91 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.4217, allocations: 11.94 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.4217, allocations: 0 / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.4217, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.4217, allocations: 3.984 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.4218, allocations: 11.94 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.052e-05/0.4219, allocations: 15.92 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4219, allocations: 3.984 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4219, allocations: 0 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4219, allocations: 4 kB / 1.054 GB, free: 6.785 MB / 0.8106 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.0004396/0.4223, allocations: 335.7 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4224, allocations: 8.031 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.4224, allocations: 4.938 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4226, allocations: 164.3 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4226, allocations: 384 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4226, allocations: 4.375 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.4227, allocations: 49.92 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4228, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4228, allocations: 7.938 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4228, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.4229, allocations: 15.98 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.4232, allocations: 252.9 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/0.4233, allocations: 30.56 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.4234, allocations: 20.92 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.4234, allocations: 3.938 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.4234, allocations: 38.55 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4234, allocations: 3.938 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000226/0.4237, allocations: 53.69 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.4238, allocations: 55.53 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.4238, allocations: 105.8 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4239, allocations: 29.7 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.4239, allocations: 84.14 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.424, allocations: 7.844 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.424, allocations: 17.7 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4242, allocations: 314.8 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.4242, allocations: 7.984 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.4242, allocations: 19.94 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.4243, allocations: 28.78 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4243, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.4244, allocations: 49.69 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4245, allocations: 4 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4245, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.4245, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.4246, allocations: 12.08 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4246, allocations: 0 / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.4246, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4246, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 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 7.415e-05/0.4247, allocations: 115.2 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.4247, allocations: 7.906 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.4248, allocations: 11.52 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4248, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4248, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4248, allocations: 4 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.425, allocations: 161.6 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.425, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.425, allocations: 7.984 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.425, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.425, allocations: 3.984 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.425, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4251, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4252, allocations: 155.4 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.4253, allocations: 85.09 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4253, allocations: 3.938 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.4254, allocations: 256 / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4254, allocations: 7.938 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4254, allocations: 4 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.456e-05/0.4255, allocations: 87.27 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002109/0.4257, allocations: 7.906 kB / 1.056 GB, free: 4.117 MB / 0.8106 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.0001052/0.4258, allocations: 99.28 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.426, allocations: 23.98 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.426, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.426, allocations: 7.984 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4262, allocations: 11.94 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.4266, allocations: 120.5 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4269, allocations: 0.677 MB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.4269, allocations: 0 / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.4269, allocations: 7.438 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.4269, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of Templates: time 0.002182/0.4291, allocations: 280.4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) 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) Reference file matches