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.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.001805/0.001805, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002052/0.002052, allocations: 202.2 kB / 22.17 MB, free: 5.211 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.566/1.566, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 67.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.00434/1.07, allocations: 1.803 MB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001844/1.072, allocations: 0.941 MB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/1.072, allocations: 4 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006867/1.072, allocations: 192.3 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004833/1.073, allocations: 159.5 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/1.073, allocations: 211.8 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/1.074, allocations: 247.5 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/1.074, allocations: 36.33 kB / 1.278 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/1.074, allocations: 99.61 kB / 1.278 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/1.074, allocations: 167.5 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/1.074, allocations: 20 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/1.075, allocations: 44 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/1.075, allocations: 95.66 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/1.075, allocations: 111.2 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/1.075, allocations: 354.5 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.075, allocations: 3.984 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/1.075, allocations: 4 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.075, allocations: 0 / 1.278 GB, free: 124 kB / 0.9669 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.001078/1.076, allocations: 0.6184 MB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.076, allocations: 12.03 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/1.077, allocations: 32.7 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/1.077, allocations: 410.6 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.077, allocations: 8.375 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/1.077, allocations: 8.125 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/1.077, allocations: 77.66 kB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.077, allocations: 0 / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.077, allocations: 4 kB / 1.28 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.077, allocations: 0 / 1.28 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/1.078, allocations: 47.91 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/1.078, allocations: 488.5 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/1.079, allocations: 50.62 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/1.079, allocations: 16.84 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/1.079, allocations: 4 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.079, allocations: 30.56 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.079, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003297/1.079, allocations: 105.4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.079, allocations: 55.41 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/1.08, allocations: 0.5524 MB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/1.08, allocations: 25.7 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.08, allocations: 180.1 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/1.08, allocations: 11.84 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/1.08, allocations: 13.72 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.08, allocations: 346.8 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/1.08, allocations: 8 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/1.08, allocations: 19.98 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.484e-05/1.08, allocations: 32.84 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.08, allocations: 3.938 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001975/1.081, allocations: 93.7 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.081, allocations: 5.719 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.081, allocations: 4 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.081, allocations: 3.984 kB / 1.282 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/1.081, allocations: 11.97 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/1.081, allocations: 0 / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/1.081, allocations: 11.94 kB / 1.282 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.081, allocations: 0 / 1.282 GB, free: 12.65 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.0001908/1.081, allocations: 185.8 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/1.081, allocations: 27.81 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/1.081, allocations: 100.1 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.081, allocations: 3.938 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.081, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.081, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/1.082, allocations: 289.5 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.082, allocations: 4 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/1.082, allocations: 4 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.082, allocations: 0 / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.082, allocations: 0 / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.082, allocations: 11.92 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.082, allocations: 0 / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/1.082, allocations: 191.3 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.082, allocations: 108.9 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/1.082, allocations: 4 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/1.082, allocations: 7.922 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.082, allocations: 7.938 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/1.082, allocations: 4 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004913/1.083, allocations: 415.1 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.083, allocations: 0 / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002614/1.083, allocations: 27.92 kB / 1.283 GB, free: 11.18 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.001312/1.084, allocations: 353.5 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001737/1.085, allocations: 35.97 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.085, allocations: 4 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/1.085, allocations: 15.98 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/1.085, allocations: 51.38 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/1.086, allocations: 0.5248 MB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/1.086, allocations: 0.7869 MB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001083/1.087, allocations: 46.91 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/1.087, allocations: 19.44 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/1.087, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.006779/1.093, allocations: 2.51 MB / 1.287 GB, free: 6.949 MB / 0.9825 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 -s cvode -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_2/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: 9.315419359132648]