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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001075/0.001075, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001054/0.001054, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.44 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3034, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002549/0.306, allocations: 1.438 MB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000595/0.3066, allocations: 398.9 kB / 1.029 GB, free: 268 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.3067, allocations: 0 / 1.029 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.3067, allocations: 7.922 kB / 1.029 GB, free: 260 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.3068, allocations: 7.938 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.3069, allocations: 8 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.307, allocations: 27.86 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.3071, allocations: 4 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.3072, allocations: 15.97 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.3073, allocations: 15.92 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3073, allocations: 4 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.3073, allocations: 0 / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.3073, allocations: 0 / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.3074, allocations: 15.94 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.3075, allocations: 27.84 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3075, allocations: 0 / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3075, allocations: 0 / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3075, allocations: 0 / 1.029 GB, free: 132 kB / 0.795 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.0004431/0.3079, allocations: 331.4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.308, allocations: 12.03 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.308, allocations: 0.9375 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3081, allocations: 176.2 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3081, allocations: 4.375 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3082, allocations: 384 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3083, allocations: 46 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3083, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3083, allocations: 3.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3083, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.3084, allocations: 23.92 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.3088, allocations: 256.9 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.889e-05/0.3089, allocations: 26.58 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.3089, allocations: 20.91 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.309, allocations: 4 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.309, allocations: 34.55 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.309, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.3092, allocations: 69.61 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3093, allocations: 51.41 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.3094, allocations: 109.9 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3094, allocations: 25.7 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.3094, allocations: 84.12 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3095, allocations: 11.84 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.3095, allocations: 13.72 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3096, allocations: 315 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.3097, allocations: 15.98 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.3097, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.3098, allocations: 32.72 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3098, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.3099, allocations: 53.67 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3099, allocations: 8.094 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3099, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3099, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.31, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.31, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.3101, allocations: 3.906 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3101, allocations: 3.984 kB / 1.03 GB, free: 14.19 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.527e-05/0.3102, allocations: 121.7 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3102, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.3102, allocations: 7.531 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3102, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3102, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3102, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.3104, allocations: 161.6 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3104, allocations: 3.938 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.3105, allocations: 11.88 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3105, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3105, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3105, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3105, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.3107, allocations: 155.5 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3108, allocations: 81.02 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.3108, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.3109, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.311, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.311, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.311, allocations: 91.56 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.311, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002171/0.3112, allocations: 0 / 1.031 GB, free: 13.46 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.0001179/0.3114, allocations: 99.25 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.3115, allocations: 23.92 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3115, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.3116, allocations: 20.05 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3118, allocations: 3.938 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.3121, allocations: 102.8 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3124, allocations: 0.6807 MB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.3124, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.3125, allocations: 11.38 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3125, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.002161/0.3146, allocations: 318.6 kB / 1.032 GB, free: 12.14 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 -s gbode -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