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.00146/0.00146, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001672/0.001672, allocations: 216.2 kB / 22.24 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.822/2.822, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 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.002135/0.002135, allocations: 64.53 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2966, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003386/0.3, allocations: 1.795 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.302, allocations: 1.084 MB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3021, allocations: 3.938 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.3026, allocations: 188.2 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.3032, allocations: 217.4 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3037, allocations: 218.5 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.3041, allocations: 267.5 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3042, allocations: 48.44 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.3045, allocations: 111.5 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.3047, allocations: 163.5 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.3048, allocations: 24 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3049, allocations: 51.98 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.305, allocations: 95.69 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.3051, allocations: 87.33 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.3056, allocations: 378.5 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3056, allocations: 0 / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3056, allocations: 3.938 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3056, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 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.0008984/0.3065, allocations: 0.5586 MB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3065, allocations: 15.97 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.3067, allocations: 48.69 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.3074, allocations: 368.7 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3074, allocations: 4.375 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3074, allocations: 12.11 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3076, allocations: 77.55 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3076, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3076, allocations: 12 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3077, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3078, allocations: 47.91 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3084, allocations: 400.2 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3085, allocations: 46.55 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.3086, allocations: 16.92 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3086, allocations: 0 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3086, allocations: 38.55 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3087, allocations: 0 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003135/0.309, allocations: 109.4 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.309, allocations: 55.34 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.3097, allocations: 0.5758 MB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3098, allocations: 25.7 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3099, allocations: 180 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3099, allocations: 7.938 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.31, allocations: 17.72 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3101, allocations: 346.8 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.3102, allocations: 12 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.3102, allocations: 11.98 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.923e-05/0.3103, allocations: 33.12 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3103, allocations: 0 / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001916/0.3105, allocations: 105.5 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3105, allocations: 7.938 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3106, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3106, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.3107, allocations: 11.98 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3107, allocations: 3.938 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.3107, allocations: 4 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3107, allocations: 0 / 1.291 GB, free: 3.996 MB / 0.9825 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.0001914/0.3109, allocations: 184 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.311, allocations: 35.77 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3112, allocations: 112.3 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3112, allocations: 0 / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3112, allocations: 7.938 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3113, allocations: 0 / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.3115, allocations: 217.1 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3115, allocations: 0 / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.3116, allocations: 8 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3116, allocations: 0 / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3116, allocations: 0 / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3116, allocations: 4 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3116, allocations: 0 / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3119, allocations: 195.2 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.312, allocations: 39.8 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.312, allocations: 0 / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.3121, allocations: 4 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.3121, allocations: 19.86 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3121, allocations: 0 / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005125/0.3127, allocations: 431.1 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3127, allocations: 0 / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002789/0.3129, allocations: 32 kB / 1.292 GB, free: 2.672 MB / 0.9825 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.001593/0.3145, allocations: 369.8 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3147, allocations: 35.97 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.3147, allocations: 0 / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.3148, allocations: 19.98 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.3153, allocations: 45.45 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3164, allocations: 0.5298 MB / 1.293 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3166, allocations: 190.1 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.3167, allocations: 47.27 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.3168, allocations: 27.42 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3168, allocations: 0 / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.007201/0.324, allocations: 2.897 MB / 1.296 GB, free: 14.66 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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/jenkins/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.684782560914755]