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.004761/0.004761, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001195/0.001195, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.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.558/2.558, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 75.86 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.62/0.6218, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002673/0.6245, allocations: 1.488 MB / 1.019 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.6251, allocations: 391.1 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.6252, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.6252, allocations: 3.984 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.6253, allocations: 3.938 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.6254, allocations: 8 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.6255, allocations: 27.91 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.6256, allocations: 8 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.6257, allocations: 19.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.6257, allocations: 7.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.6257, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.6258, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.6258, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.6258, allocations: 15.86 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.7e-05/0.6259, allocations: 15.97 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6259, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.093e-06/0.6259, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.6259, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 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.0003536/0.6263, allocations: 333.6 kB / 1.02 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6263, allocations: 12.03 kB / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.6263, allocations: 0.9375 kB / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6264, allocations: 168.3 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.6265, allocations: 4.312 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.6265, allocations: 384 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.6266, allocations: 46 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6266, allocations: 4 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6266, allocations: 3.984 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.6266, allocations: 0 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.6267, allocations: 23.92 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.627, allocations: 248.9 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.6271, allocations: 42.48 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.6272, allocations: 20.92 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6272, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.6273, allocations: 30.56 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.6273, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.6275, allocations: 61.61 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6275, allocations: 51.41 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.6276, allocations: 110 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.6276, allocations: 25.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.6277, allocations: 84.14 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.6277, allocations: 7.906 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.6277, allocations: 13.72 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.6278, allocations: 318.8 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.6279, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.6279, allocations: 16.23 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.628, allocations: 28.78 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.628, allocations: 7.938 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/0.6281, allocations: 49.69 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6282, allocations: 4 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6282, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6282, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.6283, allocations: 8.078 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6283, allocations: 7.984 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.6283, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.6283, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 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 6.374e-05/0.6284, allocations: 114.3 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.6284, allocations: 3.906 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.6285, allocations: 11.53 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6285, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6285, allocations: 3.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6285, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.6286, allocations: 157.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6286, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.6287, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6287, allocations: 7.875 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6287, allocations: 7.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.6287, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6287, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.6289, allocations: 151.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.6289, allocations: 77.11 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.6289, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.629, allocations: 7.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.629, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.6291, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.6291, allocations: 87.28 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6291, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000214/0.6293, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 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 8.479e-05/0.6294, allocations: 107.3 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.6295, allocations: 23.92 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6296, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.6296, allocations: 8 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.6298, allocations: 18.17 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.6301, allocations: 148 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.6304, allocations: 0.677 MB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.6304, allocations: 11.42 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6304, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.001844/0.6322, allocations: 0.5097 MB / 1.023 GB, free: 12.7 MB / 0.7794 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 -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