Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 186.9 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.908/2.908, allocations: 495.8 MB / 0.7831 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 1.137 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9274/0.9294, allocations: 173.6 MB / 1.307 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002677/0.9321, allocations: 1.447 MB / 1.308 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.9327, allocations: 404.6 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.9328, allocations: 0.8125 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.9328, allocations: 7.875 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.9329, allocations: 5.75 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.933, allocations: 8.891 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.294e-05/0.9331, allocations: 27.98 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.9332, allocations: 4.516 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.9332, allocations: 19.27 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.9333, allocations: 9.516 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.9333, allocations: 2.125 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.9333, allocations: 2.156 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.9333, allocations: 8.688 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.9334, allocations: 12.17 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.713e-05/0.9334, allocations: 19.09 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9334, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9334, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9334, allocations: 4.703 kB / 1.309 GB, free: 15.57 MB / 1.014 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.0004049/0.9339, allocations: 268.1 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.9339, allocations: 12.91 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.9339, allocations: 2.516 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.934, allocations: 115.5 kB / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.934, allocations: 384 / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.934, allocations: 1.906 kB / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.9342, allocations: 46.27 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.9342, allocations: 7.938 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.9342, allocations: 1.703 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.9342, allocations: 0 / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.9343, allocations: 19 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.9346, allocations: 218.8 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.9347, allocations: 33.25 kB / 1.309 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.9348, allocations: 22.41 kB / 1.309 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.9348, allocations: 0 / 1.309 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.9348, allocations: 36.36 kB / 1.309 GB, free: 14.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.9348, allocations: 1.188 kB / 1.309 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002268/0.9351, allocations: 55.09 kB / 1.309 GB, free: 14.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.9351, allocations: 53.11 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.9352, allocations: 108.8 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.9352, allocations: 29.7 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.9353, allocations: 82.09 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.9353, allocations: 5.75 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.9353, allocations: 17.38 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9355, allocations: 313 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.9355, allocations: 6.969 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.9356, allocations: 19.56 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.9356, allocations: 28.45 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9356, allocations: 0 / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.9358, allocations: 54.25 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.9358, allocations: 6.984 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.9358, allocations: 0 / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.9358, allocations: 1.125 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.9359, allocations: 9.703 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.9359, allocations: 4 kB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.9359, allocations: 6.312 kB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.9359, allocations: 5.672 kB / 1.31 GB, free: 14.05 MB / 1.014 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 9.252e-05/0.936, allocations: 123.9 kB / 1.31 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.936, allocations: 2.875 kB / 1.31 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.9361, allocations: 4.703 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.9361, allocations: 1.594 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.9361, allocations: 0 / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9361, allocations: 4 kB / 1.31 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.9362, allocations: 136.7 kB / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9362, allocations: 0 / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.9363, allocations: 5.594 kB / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9363, allocations: 0 / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.9363, allocations: 1.844 kB / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9363, allocations: 0 / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9363, allocations: 1.562 kB / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.9365, allocations: 153.9 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.9365, allocations: 5.656 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.9365, allocations: 1.797 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.9366, allocations: 1.906 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.9366, allocations: 2.406 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.9366, allocations: 4.547 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.9366, allocations: 86.23 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9366, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002201/0.9369, allocations: 4.375 kB / 1.311 GB, free: 13.51 MB / 1.014 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 9.833e-05/0.937, allocations: 99.73 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.9371, allocations: 21.91 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9371, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.9372, allocations: 13.41 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.9374, allocations: 8.109 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.9377, allocations: 122.8 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.938, allocations: 0.6779 MB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.938, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.938, allocations: 9.562 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.938, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of Templates: time 0.002412/0.9404, allocations: 332.8 kB / 1.312 GB, free: 12.51 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.934719255194068]