Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.001303/0.001303, allocations: 78.25 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001396/0.001396, allocations: 159 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.395/1.395, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.603/2.603, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 71.88 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2971, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003229/0.3003, allocations: 1.79 MB / 1.119 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3022, allocations: 1.087 MB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.3023, allocations: 3.938 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.3028, allocations: 186.5 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.3033, allocations: 220.9 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.3038, allocations: 218.5 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.3041, allocations: 267.3 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3042, allocations: 36.58 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.3044, allocations: 115.6 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.3047, allocations: 159.5 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.3047, allocations: 20 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3048, allocations: 55.97 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.305, allocations: 103.6 kB / 1.122 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.305, allocations: 83.41 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.3055, allocations: 382.4 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3055, allocations: 0 / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3055, allocations: 0 / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3055, allocations: 0 / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008655/0.3064, allocations: 0.5547 MB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.3064, allocations: 8.031 kB / 1.123 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.3066, allocations: 48.69 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.3072, allocations: 368.7 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3072, allocations: 8.375 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.3072, allocations: 8.125 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3074, allocations: 81.48 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3074, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3074, allocations: 3.984 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3074, allocations: 4 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3076, allocations: 47.97 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.3081, allocations: 404.2 kB / 1.124 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3083, allocations: 46.56 kB / 1.124 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.3083, allocations: 20.91 kB / 1.124 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3084, allocations: 0 / 1.124 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3084, allocations: 34.56 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3084, allocations: 0 / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.000299/0.3087, allocations: 109.4 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3087, allocations: 59.34 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.3094, allocations: 0.5719 MB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3094, allocations: 25.7 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3096, allocations: 188 kB / 1.125 GB, free: 11.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3096, allocations: 7.906 kB / 1.125 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.3097, allocations: 13.72 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3098, allocations: 350.8 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.3099, allocations: 15.98 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.3099, allocations: 4.109 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.31, allocations: 48.7 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.31, allocations: 0 / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001794/0.3102, allocations: 85.5 kB / 1.125 GB, free: 10.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3102, allocations: 8 kB / 1.125 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3102, allocations: 3.984 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3102, allocations: 0 / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.3103, allocations: 8 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3103, allocations: 3.938 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.3104, allocations: 3.938 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3104, allocations: 8 kB / 1.125 GB, free: 10.53 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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 0.0001797/0.3106, allocations: 185.8 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.3106, allocations: 31.77 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3109, allocations: 108.3 kB / 1.125 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3109, allocations: 3.984 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3109, allocations: 3.938 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3109, allocations: 4 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3111, allocations: 209.2 kB / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3111, allocations: 0 / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3112, allocations: 8 kB / 1.126 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3112, allocations: 0 / 1.126 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3112, allocations: 3.984 kB / 1.126 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3112, allocations: 0 / 1.126 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3112, allocations: 4 kB / 1.126 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3114, allocations: 199.2 kB / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.3115, allocations: 31.81 kB / 1.126 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3115, allocations: 7.984 kB / 1.126 GB, free: 9.676 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.3116, allocations: 3.938 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.3117, allocations: 3.938 kB / 1.126 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3117, allocations: 4 kB / 1.126 GB, free: 9.664 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005116/0.3122, allocations: 435.1 kB / 1.126 GB, free: 9.242 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3122, allocations: 0 / 1.126 GB, free: 9.242 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002744/0.3125, allocations: 27.94 kB / 1.126 GB, free: 9.215 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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.001396/0.3139, allocations: 383.8 kB / 1.127 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.314, allocations: 27.97 kB / 1.127 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.314, allocations: 0 / 1.127 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.3141, allocations: 27.92 kB / 1.127 GB, free: 8.934 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3145, allocations: 48.69 kB / 1.127 GB, free: 8.895 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.3153, allocations: 0.5374 MB / 1.127 GB, free: 8.336 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3155, allocations: 186.1 kB / 1.127 GB, free: 8.133 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.3156, allocations: 51.27 kB / 1.128 GB, free: 8.082 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.3157, allocations: 24.5 kB / 1.128 GB, free: 8.059 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.3157, allocations: 0 / 1.128 GB, free: 8.059 MB / 1.076 GB Notification: Performance of Templates: time 0.006753/0.3225, allocations: 2.674 MB / 1.13 GB, free: 5.402 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.17298162903171]