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.007893/0.007892, allocations: 101 kB / 15.73 MB, free: 5.992 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.001835/0.001835, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.494/2.494, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.83 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3481, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00261/0.3508, allocations: 1.424 MB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.3514, allocations: 392.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.3515, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.3515, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.3516, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.3517, allocations: 11.98 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.5e-05/0.3518, allocations: 23.92 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3519, allocations: 8 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.352, allocations: 15.88 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.3521, allocations: 19.91 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3521, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.3521, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.3522, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.3522, allocations: 15.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.3523, allocations: 19.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3523, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3523, allocations: 8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3523, allocations: 0 / 1.09 GB, free: 15.55 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.0004238/0.3527, allocations: 331.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3528, allocations: 12.03 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.3528, allocations: 0.9375 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3529, allocations: 168.3 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.353, allocations: 384 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.353, allocations: 4.312 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3531, allocations: 50 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3531, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3531, allocations: 3.984 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3532, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.3532, allocations: 23.92 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3536, allocations: 248.9 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.3537, allocations: 38.56 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.3538, allocations: 16.92 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3538, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3538, allocations: 34.5 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3538, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002215/0.354, allocations: 57.67 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3541, allocations: 55.53 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.3542, allocations: 109.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3542, allocations: 29.7 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.3542, allocations: 84.08 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.3543, allocations: 11.84 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.3543, allocations: 17.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3544, allocations: 314.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.3545, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3545, allocations: 15.98 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.3546, allocations: 32.72 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3546, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001016/0.3547, allocations: 53.67 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3547, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3547, allocations: 7.984 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3547, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.3548, allocations: 12.08 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3548, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.3549, allocations: 3.906 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3549, allocations: 4 kB / 1.091 GB, free: 13.61 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 7.31e-05/0.355, allocations: 113.8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.355, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.355, allocations: 7.531 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.355, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.355, allocations: 7.922 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.355, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3552, allocations: 157.6 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3552, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.3552, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3553, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3553, allocations: 7.922 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3553, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3553, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3554, allocations: 151.5 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.3555, allocations: 81.02 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3555, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.3556, allocations: 7.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.3556, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3556, allocations: 256 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.3556, allocations: 91.28 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.697e-06/0.3557, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002102/0.3559, allocations: 15.91 kB / 1.092 GB, free: 12.87 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 9.833e-05/0.356, allocations: 99.23 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.3561, allocations: 19.98 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3561, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.3562, allocations: 12 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3564, allocations: 13.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.3567, allocations: 122.8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3569, allocations: 0.6729 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.357, allocations: 3.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.357, allocations: 7.438 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.357, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of Templates: time 0.002209/0.3592, allocations: 312.5 kB / 1.093 GB, free: 11.57 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