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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001578/0.001578, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.3 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437.1 MB / 0.711 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001973, allocations: 68.52 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00293/0.3354, allocations: 1.417 MB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.3361, allocations: 404.6 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.3361, allocations: 0 / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.3362, allocations: 3.938 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.3363, allocations: 3.938 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3364, allocations: 15.98 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.3365, allocations: 19.92 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3366, allocations: 8 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.3367, allocations: 15.92 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.3368, allocations: 15.92 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3368, allocations: 4 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.3368, allocations: 0 / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.3369, allocations: 4 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3369, allocations: 11.92 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.869e-05/0.337, allocations: 19.91 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.337, allocations: 0 / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.244e-06/0.337, allocations: 4 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.337, allocations: 3.938 kB / 1.02 GB, free: 8.617 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.0004886/0.3375, allocations: 337.9 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3376, allocations: 12.03 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.3376, allocations: 0.9375 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3378, allocations: 180.3 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3378, allocations: 384 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.3378, allocations: 384 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.338, allocations: 49.94 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.338, allocations: 0 / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.338, allocations: 0 / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.338, allocations: 4 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.3381, allocations: 19.98 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3385, allocations: 252.8 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.9e-05/0.3386, allocations: 30.58 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.3386, allocations: 20.91 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3386, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3387, allocations: 34.56 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3387, allocations: 0 / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002539/0.3389, allocations: 61.61 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.339, allocations: 51.41 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3391, allocations: 101.9 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3391, allocations: 29.83 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.3392, allocations: 88.12 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3392, allocations: 11.84 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3393, allocations: 9.719 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3395, allocations: 318.8 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.3395, allocations: 7.984 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.3395, allocations: 4 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.82e-05/0.3396, allocations: 41.03 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3397, allocations: 0 / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001226/0.3398, allocations: 61.61 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3398, allocations: 4 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3398, allocations: 4 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3398, allocations: 0 / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3399, allocations: 4 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3399, allocations: 0 / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.34, allocations: 4.031 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.34, allocations: 3.984 kB / 1.022 GB, free: 6.684 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 8.983e-05/0.3401, allocations: 113.8 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3401, allocations: 3.906 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.3401, allocations: 11.53 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3401, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3401, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3402, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3403, allocations: 161.6 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3403, allocations: 4 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.3404, allocations: 4 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3404, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3404, allocations: 4 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3404, allocations: 3.938 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3405, allocations: 3.938 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3406, allocations: 147.5 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3408, allocations: 85.14 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3408, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.3408, allocations: 4 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3409, allocations: 3.984 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3409, allocations: 0 / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.3409, allocations: 83.28 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3409, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002135/0.3412, allocations: 7.906 kB / 1.022 GB, free: 5.961 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.0001453/0.3413, allocations: 103.2 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.3415, allocations: 23.92 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3415, allocations: 0 / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.3415, allocations: 11.98 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3417, allocations: 15.86 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3421, allocations: 144.6 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3424, allocations: 0.6768 MB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3425, allocations: 7.438 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3425, allocations: 0 / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of Templates: time 0.002115/0.3446, allocations: 0.5222 MB / 1.024 GB, free: 4.395 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=400 -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