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.0009839/0.0009839, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001148/0.001148, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.978/0.978, allocations: 177.2 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.353/2.353, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.566e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002391/0.002407, allocations: 1.894 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003661, allocations: 1.114 MB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.003736, allocations: 4 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.004059, allocations: 139.4 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.004367, allocations: 199.1 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.004681, allocations: 223.4 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.004928, allocations: 275.3 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005034, allocations: 38.45 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.005614, allocations: 218.8 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.005776, allocations: 155.7 kB / 0.8428 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.005802, allocations: 20 kB / 0.8428 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.005895, allocations: 55.86 kB / 0.8428 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.005963, allocations: 95.69 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.006011, allocations: 59.78 kB / 0.843 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.006263, allocations: 223.1 kB / 0.8432 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.006264, allocations: 0 / 0.8432 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.91e-07/0.006265, allocations: 0 / 0.8432 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.006269, allocations: 0 / 0.8432 GB, free: 9.492 MB / 0.8073 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.0004721/0.006741, allocations: 0.522 MB / 0.8437 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.006771, allocations: 16.62 kB / 0.8437 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.006886, allocations: 28.91 kB / 0.8438 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.007196, allocations: 280 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.007206, allocations: 8.375 kB / 0.844 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.007213, allocations: 4.312 kB / 0.844 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.007306, allocations: 70.88 kB / 0.8441 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.007315, allocations: 3.938 kB / 0.8441 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.007322, allocations: 4 kB / 0.8441 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.007327, allocations: 0 / 0.8441 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.007353, allocations: 11.98 kB / 0.8441 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.007621, allocations: 250.8 kB / 0.8444 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.00767, allocations: 25.41 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.007685, allocations: 12.84 kB / 0.8444 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.007698, allocations: 0 / 0.8444 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.007716, allocations: 34.56 kB / 0.8444 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.007717, allocations: 0 / 0.8444 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001079/0.007825, allocations: 61.73 kB / 0.8445 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.007847, allocations: 51.41 kB / 0.8445 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.008095, allocations: 373 kB / 0.8449 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.008105, allocations: 29.7 kB / 0.8449 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.008158, allocations: 136.9 kB / 0.8451 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.008173, allocations: 3.953 kB / 0.8451 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.008206, allocations: 17.72 kB / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.008302, allocations: 350.7 kB / 0.8454 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.00831, allocations: 112 / 0.8454 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.008319, allocations: 7.938 kB / 0.8454 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.008345, allocations: 23.59 kB / 0.8454 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.008346, allocations: 0 / 0.8454 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.544e-05/0.008402, allocations: 53.67 kB / 0.8455 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.008412, allocations: 4 kB / 0.8455 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.008415, allocations: 4 kB / 0.8455 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.008426, allocations: 0 / 0.8455 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.008473, allocations: 11.98 kB / 0.8455 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.008475, allocations: 0 / 0.8455 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.008503, allocations: 3.953 kB / 0.8455 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.008507, allocations: 0 / 0.8455 GB, free: 6.961 MB / 0.8073 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 6.025e-05/0.008567, allocations: 120.6 kB / 0.8456 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.008593, allocations: 15.98 kB / 0.8456 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.008678, allocations: 72.36 kB / 0.8457 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.008679, allocations: 0 / 0.8457 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.00868, allocations: 4 kB / 0.8457 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.008683, allocations: 0 / 0.8457 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.008839, allocations: 137.7 kB / 0.8459 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00884, allocations: 0 / 0.8459 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.008862, allocations: 8 kB / 0.8459 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.008863, allocations: 4 kB / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.008867, allocations: 0 / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.008868, allocations: 0 / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008868, allocations: 0 / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.846e-05/0.008947, allocations: 159.4 kB / 0.846 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.008983, allocations: 31.8 kB / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008998, allocations: 4 kB / 0.846 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.009041, allocations: 4 kB / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.009061, allocations: 3.984 kB / 0.8461 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.009064, allocations: 0 / 0.8461 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001308/0.009194, allocations: 163.5 kB / 0.8462 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009194, allocations: 0 / 0.8462 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000146/0.00934, allocations: 35.88 kB / 0.8462 GB, free: 6.16 MB / 0.8073 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.0009329/0.01027, allocations: 453 kB / 0.8467 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.01033, allocations: 12.86 kB / 0.8467 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.01034, allocations: 4 kB / 0.8467 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.01035, allocations: 16.78 kB / 0.8467 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01055, allocations: 45.64 kB / 0.8468 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.0112, allocations: 462.1 kB / 0.8472 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.924e-05/0.01126, allocations: 100.3 kB / 0.8473 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.864e-05/0.01132, allocations: 31.27 kB / 0.8473 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.01141, allocations: 87.36 kB / 0.8474 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.01141, allocations: 0 / 0.8474 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of Templates: time 0.004763/0.01617, allocations: 2.853 MB / 0.8502 GB, free: 2.332 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.173222187906504]