Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001284/0.001284, allocations: 107.1 kB / 16.37 MB, free: 5.547 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.001191/0.001191, allocations: 195.2 kB / 17.3 MB, free: 5.184 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.47/2.47, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 67.45 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3125, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003125/0.3156, allocations: 1.425 MB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.3165, allocations: 396.6 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3165, allocations: 4 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.3166, allocations: 3.938 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.3167, allocations: 3.938 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.3168, allocations: 7.984 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.3169, allocations: 27.92 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3171, allocations: 8 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3172, allocations: 19.91 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.3173, allocations: 7.938 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3173, allocations: 0 / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.3173, allocations: 7.938 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.3173, allocations: 7.984 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.3174, allocations: 7.938 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3175, allocations: 31.89 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3175, allocations: 0 / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.746e-06/0.3175, allocations: 4 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.3175, allocations: 0 / 1.021 GB, free: 7.895 MB / 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.0004402/0.318, allocations: 331.4 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.318, allocations: 8.031 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.318, allocations: 4.938 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3182, allocations: 168.3 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3182, allocations: 4.312 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3183, allocations: 4.375 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3184, allocations: 50 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3184, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3184, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3184, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.3185, allocations: 23.92 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.319, allocations: 244.9 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.3191, allocations: 34.59 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.3191, allocations: 20.91 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3191, allocations: 0 / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3192, allocations: 34.56 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.3192, allocations: 4 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002485/0.3194, allocations: 57.61 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3195, allocations: 55.53 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.3196, allocations: 105.9 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3196, allocations: 29.7 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.3197, allocations: 88.12 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3197, allocations: 7.844 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3197, allocations: 17.66 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3198, allocations: 314.8 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.3199, allocations: 7.984 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.3199, allocations: 16 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.32, allocations: 32.72 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.32, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.3201, allocations: 49.69 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3202, allocations: 7.984 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3202, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3202, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3203, allocations: 8.094 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3203, allocations: 0 / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.3203, allocations: 4 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3203, allocations: 0 / 1.022 GB, free: 5.973 MB / 0.795 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.797e-05/0.3204, allocations: 113.8 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3204, allocations: 7.906 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.3205, allocations: 7.531 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3205, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3205, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3205, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3207, allocations: 161.6 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3207, allocations: 7.922 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.3208, allocations: 4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3208, allocations: 3.938 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.3208, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3208, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3208, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.321, allocations: 155.5 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.321, allocations: 81.11 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3211, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.3211, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3212, allocations: 4 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3212, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.3212, allocations: 91.52 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3212, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002228/0.3215, allocations: 7.906 kB / 1.023 GB, free: 5.242 MB / 0.795 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.0001245/0.3216, allocations: 107.2 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3218, allocations: 27.98 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3218, allocations: 0 / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.3219, allocations: 11.98 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3221, allocations: 7.938 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.3224, allocations: 110.9 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3226, allocations: 0.6806 MB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.3227, allocations: 4 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.3227, allocations: 7.438 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3227, allocations: 0 / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of Templates: time 0.002264/0.325, allocations: 312.5 kB / 1.024 GB, free: 3.922 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches