Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001786/0.001786, 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.002185/0.002185, allocations: 215.5 kB / 22.25 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.505/3.505, allocations: 0.5569 GB / 0.862 GB, free: 4.293 MB / 0.6544 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 1.255 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3795, allocations: 193.6 MB / 1.444 GB, free: 15.44 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003397/0.3829, allocations: 1.794 MB / 1.446 GB, free: 13.63 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3848, allocations: 1.087 MB / 1.447 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.3849, allocations: 4 kB / 1.447 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.3854, allocations: 181.8 kB / 1.447 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.3859, allocations: 229.9 kB / 1.448 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.3864, allocations: 221.8 kB / 1.448 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.3868, allocations: 271.3 kB / 1.448 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3869, allocations: 44.5 kB / 1.448 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3871, allocations: 107.6 kB / 1.448 GB, free: 11.51 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.3874, allocations: 167.5 kB / 1.448 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.3874, allocations: 20 kB / 1.448 GB, free: 11.32 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3875, allocations: 51.98 kB / 1.448 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3877, allocations: 95.67 kB / 1.449 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3878, allocations: 95.33 kB / 1.449 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.3883, allocations: 382.5 kB / 1.449 GB, free: 10.71 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3883, allocations: 0 / 1.449 GB, free: 10.71 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3883, allocations: 0 / 1.449 GB, free: 10.71 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3883, allocations: 0 / 1.449 GB, free: 10.71 MB / 1.139 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.0008982/0.3892, allocations: 0.5625 MB / 1.45 GB, free: 10.12 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.3892, allocations: 8.031 kB / 1.45 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3894, allocations: 44.69 kB / 1.45 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.3901, allocations: 376.6 kB / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3901, allocations: 8.375 kB / 1.45 GB, free: 9.668 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3901, allocations: 4.125 kB / 1.45 GB, free: 9.664 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3903, allocations: 77.66 kB / 1.45 GB, free: 9.582 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3903, allocations: 3.938 kB / 1.45 GB, free: 9.578 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3903, allocations: 3.984 kB / 1.45 GB, free: 9.574 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3903, allocations: 4 kB / 1.45 GB, free: 9.57 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.3905, allocations: 47.97 kB / 1.45 GB, free: 9.523 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.3911, allocations: 400.2 kB / 1.45 GB, free: 9.102 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3912, allocations: 42.56 kB / 1.451 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.3913, allocations: 24.91 kB / 1.451 GB, free: 9.023 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3913, allocations: 0 / 1.451 GB, free: 9.023 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3914, allocations: 34.56 kB / 1.451 GB, free: 8.98 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3914, allocations: 0 / 1.451 GB, free: 8.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002997/0.3917, allocations: 109.3 kB / 1.451 GB, free: 8.867 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3917, allocations: 59.45 kB / 1.451 GB, free: 8.797 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.3925, allocations: 0.5718 MB / 1.451 GB, free: 8.211 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3925, allocations: 25.7 kB / 1.451 GB, free: 8.18 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3926, allocations: 187.9 kB / 1.452 GB, free: 7.992 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.3926, allocations: 7.953 kB / 1.452 GB, free: 7.984 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3927, allocations: 21.7 kB / 1.452 GB, free: 7.957 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3929, allocations: 342.8 kB / 1.452 GB, free: 7.613 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.3929, allocations: 15.98 kB / 1.452 GB, free: 7.598 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.393, allocations: 7.984 kB / 1.452 GB, free: 7.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.3931, allocations: 36.84 kB / 1.452 GB, free: 7.551 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3931, allocations: 0 / 1.452 GB, free: 7.551 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001866/0.3933, allocations: 93.42 kB / 1.452 GB, free: 7.453 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3933, allocations: 4 kB / 1.452 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3933, allocations: 4 kB / 1.452 GB, free: 7.445 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3933, allocations: 0 / 1.452 GB, free: 7.445 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.3934, allocations: 8 kB / 1.452 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3934, allocations: 3.938 kB / 1.452 GB, free: 7.434 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.3935, allocations: 7.938 kB / 1.452 GB, free: 7.426 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3935, allocations: 4 kB / 1.452 GB, free: 7.422 MB / 1.139 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.0001773/0.3936, allocations: 185.8 kB / 1.452 GB, free: 7.23 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.3937, allocations: 27.81 kB / 1.452 GB, free: 7.203 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.394, allocations: 116.6 kB / 1.452 GB, free: 7.082 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.394, allocations: 4 kB / 1.452 GB, free: 7.078 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.394, allocations: 3.938 kB / 1.452 GB, free: 7.074 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.394, allocations: 4.047 kB / 1.452 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3943, allocations: 217.2 kB / 1.453 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3943, allocations: 0 / 1.453 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.3943, allocations: 7.984 kB / 1.453 GB, free: 6.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3943, allocations: 4 kB / 1.453 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3943, allocations: 0 / 1.453 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3943, allocations: 0 / 1.453 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3943, allocations: 0 / 1.453 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3946, allocations: 195.3 kB / 1.453 GB, free: 6.609 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.3947, allocations: 39.73 kB / 1.453 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.3947, allocations: 4 kB / 1.453 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.3948, allocations: 0 / 1.453 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3948, allocations: 11.92 kB / 1.453 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3948, allocations: 7.938 kB / 1.453 GB, free: 6.547 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000535/0.3954, allocations: 431.1 kB / 1.453 GB, free: 6.129 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.3954, allocations: 0 / 1.453 GB, free: 6.129 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002793/0.3956, allocations: 31.95 kB / 1.453 GB, free: 6.098 MB / 1.139 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.001452/0.3971, allocations: 389.5 kB / 1.454 GB, free: 5.863 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.3973, allocations: 27.98 kB / 1.454 GB, free: 5.836 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3973, allocations: 0 / 1.454 GB, free: 5.836 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.3973, allocations: 27.92 kB / 1.454 GB, free: 5.809 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3977, allocations: 39.83 kB / 1.454 GB, free: 5.773 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.3986, allocations: 0.5297 MB / 1.454 GB, free: 5.207 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3988, allocations: 186.1 kB / 1.454 GB, free: 5.008 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.3989, allocations: 55.45 kB / 1.454 GB, free: 4.953 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.399, allocations: 19.44 kB / 1.455 GB, free: 4.934 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/0.399, allocations: 4 kB / 1.455 GB, free: 4.93 MB / 1.139 GB Notification: Performance of Templates: time 0.007296/0.4063, allocations: 2.895 MB / 1.457 GB, free: 2.078 MB / 1.139 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 9.289031311869621]