Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 80.3 kB / 21.47 MB, free: 3.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 168.6 kB / 24.87 MB, free: 9.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.796/1.796, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.421e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002469/0.002493, allocations: 1.493 MB / 0.7898 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005877/0.003081, allocations: 456.6 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.003127, allocations: 0 / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.00315, allocations: 4.5 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.003193, allocations: 3.938 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.003363, allocations: 24.81 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.003444, allocations: 27.86 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.442e-05/0.003518, allocations: 8.922 kB / 0.7903 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.003614, allocations: 23.86 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.003655, allocations: 16.58 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.003666, allocations: 7.438 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.003698, allocations: 4 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.158e-06/0.003708, allocations: 3.984 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.00372, allocations: 4 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.003794, allocations: 19.92 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003797, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003798, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003802, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 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.0002749/0.004077, allocations: 364.6 kB / 0.7907 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.004105, allocations: 12.72 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.294e-05/0.004198, allocations: 12.92 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.004304, allocations: 121.1 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.00431, allocations: 1.969 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-06/0.004315, allocations: 384 / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.053e-05/0.004386, allocations: 58.89 kB / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-06/0.004391, allocations: 192 / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.004397, allocations: 1.062 kB / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004401, allocations: 3.938 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.004419, allocations: 9.234 kB / 0.7909 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.004593, allocations: 232.5 kB / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.616e-05/0.004629, allocations: 27.06 kB / 0.7911 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.004644, allocations: 17.22 kB / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.004651, allocations: 0 / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.004668, allocations: 33.39 kB / 0.7912 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.004669, allocations: 1.594 kB / 0.7912 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.853e-05/0.004767, allocations: 49.58 kB / 0.7912 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.00479, allocations: 55.41 kB / 0.7913 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.00485, allocations: 166.5 kB / 0.7914 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.004859, allocations: 25.7 kB / 0.7915 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.004896, allocations: 136.8 kB / 0.7916 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.004909, allocations: 3.953 kB / 0.7916 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.004933, allocations: 23.38 kB / 0.7916 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.005036, allocations: 496.1 kB / 0.7921 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.005046, allocations: 7.938 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.005054, allocations: 0.5312 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.005074, allocations: 12.41 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005076, allocations: 1.25 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.177e-05/0.005118, allocations: 37.69 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.005128, allocations: 8 kB / 0.7922 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.005133, allocations: 4.562 kB / 0.7922 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.00514, allocations: 0 / 0.7922 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.005183, allocations: 5.125 kB / 0.7922 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.005185, allocations: 0 / 0.7922 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.005198, allocations: 7.938 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.005202, allocations: 0.7812 kB / 0.7922 GB, free: 8.094 MB / 0.7448 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 5.527e-05/0.005257, allocations: 165.2 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.005271, allocations: 3.953 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.005287, allocations: 12.81 kB / 0.7924 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005289, allocations: 0 / 0.7924 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.005291, allocations: 4 kB / 0.7924 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005294, allocations: 0.5 kB / 0.7924 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.206e-05/0.005376, allocations: 97.27 kB / 0.7925 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005377, allocations: 5.109 kB / 0.7925 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.005393, allocations: 4 kB / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.005394, allocations: 0 / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005397, allocations: 0.9062 kB / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005397, allocations: 0 / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005399, allocations: 8.781 kB / 0.7925 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.685e-05/0.005475, allocations: 183.9 kB / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.005481, allocations: 10.17 kB / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.005488, allocations: 0 / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.005514, allocations: 0 / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.005536, allocations: 11.92 kB / 0.7927 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.005538, allocations: 4 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.005571, allocations: 127.2 kB / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005571, allocations: 6.719 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001296/0.0057, allocations: 4 kB / 0.7928 GB, free: 7.414 MB / 0.7448 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 7.354e-05/0.005774, allocations: 95.25 kB / 0.7929 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.947e-05/0.005824, allocations: 15.67 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.62e-07/0.005824, allocations: 0 / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.005838, allocations: 13.16 kB / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.005974, allocations: 7.875 kB / 0.7929 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.006296, allocations: 135.2 kB / 0.7931 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.006324, allocations: 52.73 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.006339, allocations: 4 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.006373, allocations: 66.2 kB / 0.7932 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.006373, allocations: 1.094 kB / 0.7932 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.00152/0.007893, allocations: 362.6 kB / 0.7935 GB, free: 6.629 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.770568683743477]