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.001705/0.001705, allocations: 76.44 kB / 19.17 MB, free: 0.75 MB / 13.93 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.002353/0.002353, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 1.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 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.174/3.174, allocations: 429.6 MB / 0.6726 GB, free: 4.055 MB / 0.6355 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 1.403e-06/1.403e-06, allocations: 0 / 1.066 GB, free: 32.81 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.269e-05, allocations: 2.281 kB / 1.066 GB, free: 32.81 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002335/0.002357, allocations: 1.81 MB / 1.068 GB, free: 31.59 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.003708, allocations: 1.084 MB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.003793, allocations: 6.812 kB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.004241, allocations: 187.1 kB / 1.069 GB, free: 30.81 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.004636, allocations: 216.2 kB / 1.069 GB, free: 30.71 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.004991, allocations: 220.4 kB / 1.069 GB, free: 30.6 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.005231, allocations: 270.7 kB / 1.07 GB, free: 30.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.005345, allocations: 43.19 kB / 1.07 GB, free: 30.45 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.005542, allocations: 145.4 kB / 1.07 GB, free: 30.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.005698, allocations: 153.1 kB / 1.07 GB, free: 30.36 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.005731, allocations: 20.12 kB / 1.07 GB, free: 30.36 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.005815, allocations: 55.22 kB / 1.07 GB, free: 30.34 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.005895, allocations: 90.78 kB / 1.07 GB, free: 30.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.005953, allocations: 66.48 kB / 1.07 GB, free: 30.26 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.006255, allocations: 374.7 kB / 1.071 GB, free: 30.13 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006258, allocations: 0 / 1.071 GB, free: 30.13 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006259, allocations: 0 / 1.071 GB, free: 30.13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.006264, allocations: 4 kB / 1.071 GB, free: 30.13 MB / 1.01 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.0006173/0.006882, allocations: 0.5537 MB / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.006911, allocations: 12.12 kB / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.007075, allocations: 45.41 kB / 1.071 GB, free: 29.65 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.007549, allocations: 367.7 kB / 1.072 GB, free: 29.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.007561, allocations: 7.125 kB / 1.072 GB, free: 29.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.007572, allocations: 3.156 kB / 1.072 GB, free: 29.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.007713, allocations: 74.09 kB / 1.072 GB, free: 29.35 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.007722, allocations: 3.938 kB / 1.072 GB, free: 29.35 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.007731, allocations: 6.875 kB / 1.072 GB, free: 29.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.007735, allocations: 0 / 1.072 GB, free: 29.34 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.007843, allocations: 46.98 kB / 1.072 GB, free: 29.33 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.008263, allocations: 402.8 kB / 1.072 GB, free: 29.05 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.008379, allocations: 48.66 kB / 1.072 GB, free: 29.01 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.008426, allocations: 16.95 kB / 1.072 GB, free: 29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.008446, allocations: 6.203 kB / 1.072 GB, free: 29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.008456, allocations: 30.56 kB / 1.072 GB, free: 28.96 MB / 1.01 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.008457, allocations: 112 / 1.072 GB, free: 28.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=3): time 0.0002614/0.008719, allocations: 111.5 kB / 1.072 GB, free: 28.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.008738, allocations: 55.41 kB / 1.072 GB, free: 28.83 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.009237, allocations: 0.5683 MB / 1.073 GB, free: 28.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.009244, allocations: 28.55 kB / 1.073 GB, free: 28.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.009332, allocations: 177.9 kB / 1.073 GB, free: 28.41 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.009348, allocations: 14.84 kB / 1.073 GB, free: 28.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.009376, allocations: 16.62 kB / 1.073 GB, free: 28.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.009434, allocations: 355.1 kB / 1.073 GB, free: 28.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.009478, allocations: 5.969 kB / 1.073 GB, free: 28.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.009514, allocations: 23.77 kB / 1.073 GB, free: 28.03 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.025e-05/0.009594, allocations: 40.75 kB / 1.074 GB, free: 28.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.009595, allocations: 0 / 1.074 GB, free: 28.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/0.009732, allocations: 87.89 kB / 1.074 GB, free: 27.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.009743, allocations: 5.531 kB / 1.074 GB, free: 27.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.009747, allocations: 0 / 1.074 GB, free: 27.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009761, allocations: 336 / 1.074 GB, free: 27.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.009827, allocations: 11.98 kB / 1.074 GB, free: 27.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.009831, allocations: 0 / 1.074 GB, free: 27.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.009903, allocations: 6.938 kB / 1.074 GB, free: 27.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.00991, allocations: 6.625 kB / 1.074 GB, free: 27.95 MB / 1.01 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.0001044/0.01001, allocations: 181.6 kB / 1.074 GB, free: 27.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.01006, allocations: 37.62 kB / 1.074 GB, free: 27.78 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.01024, allocations: 101.9 kB / 1.074 GB, free: 27.72 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01025, allocations: 0 / 1.074 GB, free: 27.72 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01025, allocations: 0 / 1.074 GB, free: 27.72 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01025, allocations: 2.938 kB / 1.074 GB, free: 27.72 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.01042, allocations: 218.3 kB / 1.074 GB, free: 27.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.01043, allocations: 4 kB / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.01047, allocations: 5.875 kB / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01048, allocations: 6.422 kB / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01048, allocations: 0 / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01048, allocations: 0 / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01048, allocations: 3.938 kB / 1.074 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.01064, allocations: 189 kB / 1.074 GB, free: 27.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.0107, allocations: 41.39 kB / 1.074 GB, free: 27.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.01073, allocations: 0 / 1.074 GB, free: 27.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01084, allocations: 10.09 kB / 1.074 GB, free: 27.36 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.01086, allocations: 6.906 kB / 1.074 GB, free: 27.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.01087, allocations: 0 / 1.074 GB, free: 27.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003433/0.01121, allocations: 437.3 kB / 1.075 GB, free: 27.17 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.01121, allocations: 0 / 1.075 GB, free: 27.17 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002582/0.01147, allocations: 31.33 kB / 1.075 GB, free: 27.16 MB / 1.01 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.001518/0.01299, allocations: 379.4 kB / 1.075 GB, free: 26.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01312, allocations: 40.33 kB / 1.075 GB, free: 26.97 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01312, allocations: 2.938 kB / 1.075 GB, free: 26.97 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.01317, allocations: 16.39 kB / 1.075 GB, free: 26.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.01354, allocations: 42.59 kB / 1.075 GB, free: 26.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.01417, allocations: 0.5385 MB / 1.076 GB, free: 26.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.0143, allocations: 184.7 kB / 1.076 GB, free: 26.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.739e-05/0.01439, allocations: 47.67 kB / 1.076 GB, free: 26.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.01444, allocations: 22.31 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of SimCode: time 4.6e-07/0.01444, allocations: 4 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of Templates: time 0.005388/0.01983, allocations: 2.695 MB / 1.079 GB, free: 26.18 MB / 1.01 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: 8.820517026004381]