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.001406/0.001406, allocations: 115.3 kB / 16.42 MB, free: 6.469 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.001522/0.001522, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 469.4 MB / 0.7428 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 67.89 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.056, allocations: 159.1 MB / 1.221 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003197/1.059, allocations: 1.418 MB / 1.222 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000802/1.06, allocations: 399.1 kB / 1.223 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/1.06, allocations: 0 / 1.223 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/1.06, allocations: 3.938 kB / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/1.06, allocations: 4 kB / 1.223 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/1.061, allocations: 7.938 kB / 1.223 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/1.061, allocations: 27.92 kB / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.061, allocations: 7.969 kB / 1.223 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/1.061, allocations: 19.94 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/1.061, allocations: 11.98 kB / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/1.061, allocations: 0 / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/1.061, allocations: 0 / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/1.061, allocations: 7.938 kB / 1.223 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/1.061, allocations: 7.938 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/1.061, allocations: 27.89 kB / 1.223 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.061, allocations: 0 / 1.223 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.435e-06/1.061, allocations: 0 / 1.223 GB, free: 468 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.061, allocations: 0 / 1.223 GB, free: 468 kB / 0.9356 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.0004365/1.062, allocations: 343.2 kB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.062, allocations: 12.02 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/1.062, allocations: 4.844 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/1.062, allocations: 168.3 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/1.062, allocations: 384 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.062, allocations: 384 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.062, allocations: 46 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.062, allocations: 0 / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/1.062, allocations: 0 / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.062, allocations: 0 / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/1.062, allocations: 23.98 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/1.063, allocations: 252.8 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/1.063, allocations: 30.58 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/1.063, allocations: 20.91 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/1.063, allocations: 4 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.063, allocations: 30.56 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.063, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000258/1.063, allocations: 65.52 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.063, allocations: 51.41 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/1.063, allocations: 105.8 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/1.063, allocations: 29.7 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/1.063, allocations: 92.27 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/1.064, allocations: 5.734 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/1.064, allocations: 13.72 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.064, allocations: 318.8 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/1.064, allocations: 4 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/1.064, allocations: 12.23 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/1.064, allocations: 24.92 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.064, allocations: 11.88 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/1.064, allocations: 57.61 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.064, allocations: 8 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.064, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.064, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/1.064, allocations: 4 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.064, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/1.064, allocations: 3.984 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/1.064, allocations: 8.031 kB / 1.224 GB, free: 14.52 MB / 0.9512 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 0.0001013/1.064, allocations: 114.3 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/1.064, allocations: 0 / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/1.064, allocations: 7.531 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.064, allocations: 3.984 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.064, allocations: 0 / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/1.064, allocations: 81.02 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/1.065, allocations: 3.984 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/1.065, allocations: 4 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/1.065, allocations: 11.88 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001646/1.065, allocations: 136.9 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002038/1.065, allocations: 214.8 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.784e-05/1.065, allocations: 16.05 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.708e-05/1.065, allocations: 83.28 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/1.065, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004298/1.066, allocations: 97.14 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005003/1.066, allocations: 0.5659 MB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.002729/1.069, allocations: 412.5 kB / 1.226 GB, free: 12.69 MB / 0.9512 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/jenkins1/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