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.001807/0.001807, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001923/0.001923, allocations: 186 kB / 20.78 MB, free: 1.547 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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.81/2.81, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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.002079/0.002079, allocations: 67.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9664/0.9685, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003017/0.9715, allocations: 1.804 MB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.9728, allocations: 0.9349 MB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.9729, allocations: 1.844 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.9734, allocations: 197.5 kB / 1.275 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.9738, allocations: 173.2 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.9742, allocations: 212.8 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.9745, allocations: 233.6 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.9746, allocations: 36.72 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.9748, allocations: 106.6 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.975, allocations: 164.9 kB / 1.276 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.975, allocations: 17.84 kB / 1.276 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.9752, allocations: 45.97 kB / 1.276 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.9753, allocations: 96.03 kB / 1.276 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.669e-05/0.9754, allocations: 110.7 kB / 1.276 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.9758, allocations: 353.3 kB / 1.276 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9758, allocations: 4.812 kB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9758, allocations: 0 / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.9758, allocations: 0 / 1.276 GB, free: 5.266 MB / 0.9981 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.0007273/0.9765, allocations: 0.6165 MB / 1.277 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.9766, allocations: 8.938 kB / 1.277 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.9766, allocations: 35.42 kB / 1.277 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.9771, allocations: 413.6 kB / 1.277 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.9771, allocations: 6.594 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.9771, allocations: 7.344 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.9773, allocations: 82.08 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9773, allocations: 0.8438 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9773, allocations: 0 / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9774, allocations: 6.594 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.9775, allocations: 47.34 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.978, allocations: 484.8 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.9781, allocations: 44.23 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.9782, allocations: 19.36 kB / 1.278 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.9782, allocations: 4.906 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.9782, allocations: 32.66 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9782, allocations: 0 / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002773/0.9785, allocations: 113.1 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.9785, allocations: 51.41 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.9791, allocations: 0.5492 MB / 1.279 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.9791, allocations: 26.52 kB / 1.279 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.9792, allocations: 181.2 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.9793, allocations: 14.31 kB / 1.279 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.9793, allocations: 18.91 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.9794, allocations: 341.1 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.9794, allocations: 13.97 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.9794, allocations: 11.78 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.9795, allocations: 34.41 kB / 1.279 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9795, allocations: 7.938 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001509/0.9797, allocations: 86.67 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9797, allocations: 10.02 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.9797, allocations: 0.8438 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9797, allocations: 3.938 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.9798, allocations: 9.375 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9798, allocations: 0.9062 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.9799, allocations: 5.812 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.9799, allocations: 0.9375 kB / 1.279 GB, free: 2.867 MB / 0.9981 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.0001232/0.98, allocations: 185.8 kB / 1.28 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.98, allocations: 29.92 kB / 1.28 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.9803, allocations: 101.2 kB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9803, allocations: 4.688 kB / 1.28 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.9803, allocations: 0.7188 kB / 1.28 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9803, allocations: 0.5156 kB / 1.28 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.9805, allocations: 288.8 kB / 1.28 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9805, allocations: 0.625 kB / 1.28 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.9806, allocations: 11.61 kB / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9806, allocations: 0 / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.9806, allocations: 6.219 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9806, allocations: 3.938 kB / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.9806, allocations: 1.562 kB / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.9808, allocations: 183.3 kB / 1.28 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.9809, allocations: 114.5 kB / 1.28 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.9809, allocations: 8.719 kB / 1.28 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.981, allocations: 7.25 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.9811, allocations: 2.094 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.9811, allocations: 1.781 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004933/0.9816, allocations: 418.7 kB / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9816, allocations: 0 / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002767/0.9818, allocations: 26.44 kB / 1.281 GB, free: 1.93 MB / 0.9981 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.0012/0.983, allocations: 355.7 kB / 1.281 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.9832, allocations: 36.36 kB / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9832, allocations: 0 / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.9833, allocations: 21.91 kB / 1.281 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.9837, allocations: 45.95 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.9845, allocations: 0.5232 MB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.9848, allocations: 0.7793 MB / 1.283 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000121/0.9849, allocations: 49.83 kB / 1.283 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.985, allocations: 25.66 kB / 1.283 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.985, allocations: 2 kB / 1.283 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of Templates: time 0.007067/0.992, allocations: 2.5 MB / 1.285 GB, free: 428 kB / 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.85976492986083]