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.001452/0.001452, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00165/0.00165, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9229/0.9229, allocations: 177.1 MB / 203.5 MB, free: 5.746 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 1.96/1.96, allocations: 429.6 MB / 0.6733 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] 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.674e-06/1.674e-06, allocations: 0 / 1.066 GB, free: 33.35 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.044e-05, allocations: 9.188 kB / 1.066 GB, free: 33.34 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002513/0.002544, allocations: 1.794 MB / 1.068 GB, free: 32.13 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003815, allocations: 1.099 MB / 1.069 GB, free: 31.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.003892, allocations: 2.656 kB / 1.069 GB, free: 31.41 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.004317, allocations: 184.5 kB / 1.069 GB, free: 31.35 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.004642, allocations: 224.4 kB / 1.069 GB, free: 31.24 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.004909, allocations: 217.8 kB / 1.069 GB, free: 31.13 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.005119, allocations: 268.7 kB / 1.07 GB, free: 31.01 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.00524, allocations: 35.17 kB / 1.07 GB, free: 30.99 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.005416, allocations: 150.8 kB / 1.07 GB, free: 30.92 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.005563, allocations: 153.5 kB / 1.07 GB, free: 30.89 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.005591, allocations: 19.25 kB / 1.07 GB, free: 30.89 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 8.153e-05/0.005673, allocations: 54.59 kB / 1.07 GB, free: 30.88 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.005756, allocations: 90.12 kB / 1.07 GB, free: 30.84 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.005808, allocations: 67.36 kB / 1.07 GB, free: 30.79 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.006101, allocations: 375 kB / 1.071 GB, free: 30.66 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006103, allocations: 0 / 1.071 GB, free: 30.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.623e-06/0.006105, allocations: 0 / 1.071 GB, free: 30.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.006112, allocations: 2.969 kB / 1.071 GB, free: 30.66 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.0005124/0.006624, allocations: 0.5532 MB / 1.071 GB, free: 30.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.006662, allocations: 10.56 kB / 1.071 GB, free: 30.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.006805, allocations: 46.09 kB / 1.071 GB, free: 30.18 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.007156, allocations: 369.8 kB / 1.072 GB, free: 29.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.007167, allocations: 7.125 kB / 1.072 GB, free: 29.93 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.007177, allocations: 7.25 kB / 1.072 GB, free: 29.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.007292, allocations: 79.34 kB / 1.072 GB, free: 29.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.0073, allocations: 3.938 kB / 1.072 GB, free: 29.87 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.007309, allocations: 0 / 1.072 GB, free: 29.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.007315, allocations: 2.875 kB / 1.072 GB, free: 29.87 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.007388, allocations: 48.67 kB / 1.072 GB, free: 29.86 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.00776, allocations: 399.3 kB / 1.072 GB, free: 29.58 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.007849, allocations: 45.97 kB / 1.072 GB, free: 29.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.007881, allocations: 19.92 kB / 1.072 GB, free: 29.53 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.007901, allocations: 0 / 1.072 GB, free: 29.53 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.007913, allocations: 33.41 kB / 1.072 GB, free: 29.49 MB / 1.01 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.007914, allocations: 0 / 1.072 GB, free: 29.49 MB / 1.01 GB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.008099, allocations: 108.7 kB / 1.072 GB, free: 29.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.008117, allocations: 54.06 kB / 1.072 GB, free: 29.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.008512, allocations: 0.5791 MB / 1.073 GB, free: 29.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.008518, allocations: 29.64 kB / 1.073 GB, free: 29.08 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.008591, allocations: 180.6 kB / 1.073 GB, free: 28.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.00861, allocations: 7.906 kB / 1.073 GB, free: 28.92 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.008635, allocations: 19.61 kB / 1.073 GB, free: 28.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.008696, allocations: 349.4 kB / 1.073 GB, free: 28.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.008726, allocations: 15.5 kB / 1.073 GB, free: 28.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.008748, allocations: 15.28 kB / 1.073 GB, free: 28.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.008803, allocations: 35.8 kB / 1.074 GB, free: 28.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008805, allocations: 0 / 1.074 GB, free: 28.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001562/0.008961, allocations: 91.34 kB / 1.074 GB, free: 28.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.008977, allocations: 5.594 kB / 1.074 GB, free: 28.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008983, allocations: 0 / 1.074 GB, free: 28.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.008997, allocations: 2.5 kB / 1.074 GB, free: 28.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.009058, allocations: 9.062 kB / 1.074 GB, free: 28.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.009064, allocations: 0 / 1.074 GB, free: 28.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.009103, allocations: 9.875 kB / 1.074 GB, free: 28.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.00911, allocations: 7.938 kB / 1.074 GB, free: 28.47 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 9.421e-05/0.009205, allocations: 179.9 kB / 1.074 GB, free: 28.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.00924, allocations: 39.14 kB / 1.074 GB, free: 28.31 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.009388, allocations: 96.88 kB / 1.074 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.009391, allocations: 2.766 kB / 1.074 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.009396, allocations: 7.984 kB / 1.074 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.009399, allocations: 0 / 1.074 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.00955, allocations: 216 kB / 1.074 GB, free: 28.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009552, allocations: 2.688 kB / 1.074 GB, free: 28.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.009583, allocations: 9.531 kB / 1.074 GB, free: 28.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.009587, allocations: 7.078 kB / 1.074 GB, free: 28.08 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.009594, allocations: 4 kB / 1.074 GB, free: 28.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.009595, allocations: 0 / 1.074 GB, free: 28.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.009596, allocations: 0 / 1.074 GB, free: 28.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.009707, allocations: 189 kB / 1.074 GB, free: 27.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.009745, allocations: 40.03 kB / 1.074 GB, free: 27.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.009764, allocations: 0 / 1.074 GB, free: 27.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.00981, allocations: 5.719 kB / 1.074 GB, free: 27.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.009848, allocations: 4 kB / 1.074 GB, free: 27.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.009852, allocations: 6.781 kB / 1.074 GB, free: 27.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002888/0.01014, allocations: 429.3 kB / 1.075 GB, free: 27.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.01014, allocations: 0 / 1.075 GB, free: 27.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001821/0.01032, allocations: 34.47 kB / 1.075 GB, free: 27.69 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.0006954/0.01102, allocations: 382.7 kB / 1.075 GB, free: 27.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01112, allocations: 38.66 kB / 1.075 GB, free: 27.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.01112, allocations: 0 / 1.075 GB, free: 27.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.01115, allocations: 15.34 kB / 1.075 GB, free: 27.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.0114, allocations: 47.22 kB / 1.075 GB, free: 27.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.01199, allocations: 0.5679 MB / 1.076 GB, free: 27.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.0121, allocations: 182.5 kB / 1.076 GB, free: 27.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.01215, allocations: 33.83 kB / 1.076 GB, free: 27.02 MB / 1.01 GB Notification: Performance of SimCode: time 8.81e-07/0.01215, allocations: 2.719 kB / 1.076 GB, free: 27.02 MB / 1.01 GB Notification: Performance of Templates: time 0.004454/0.0166, allocations: 3.854 MB / 1.08 GB, free: 26.56 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 -emit_protected > 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: 7.768850892782211]