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.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.0008043/0.0008043, allocations: 80.48 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.0007621/0.0007621, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8701/0.8701, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.609/1.609, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.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 1.563e-06/1.563e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.992e-05, allocations: 8.953 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002396/0.002426, allocations: 1.798 MB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003665, allocations: 1.083 MB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.003755, allocations: 0 / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.004207, allocations: 192.3 kB / 0.9547 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.004575, allocations: 212 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.004885, allocations: 218.3 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.005162, allocations: 271.3 kB / 0.9554 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.005302, allocations: 36.52 kB / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.005516, allocations: 151.5 kB / 0.9556 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.005678, allocations: 155.7 kB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.005709, allocations: 20 kB / 0.9557 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.005799, allocations: 51.92 kB / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.005879, allocations: 91.7 kB / 0.9559 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.005936, allocations: 63.77 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.006255, allocations: 370.7 kB / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006257, allocations: 0 / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.214e-06/0.00626, allocations: 0 / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.423e-06/0.006266, allocations: 4 kB / 0.9563 GB, free: 14.29 MB / 0.9167 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.0005809/0.006847, allocations: 0.547 MB / 0.9568 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.006885, allocations: 8.031 kB / 0.9568 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.007033, allocations: 44.69 kB / 0.9569 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.007453, allocations: 375.9 kB / 0.9572 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.007464, allocations: 4.375 kB / 0.9572 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.007475, allocations: 4.375 kB / 0.9572 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.007602, allocations: 86.14 kB / 0.9573 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.00761, allocations: 3.938 kB / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.00762, allocations: 0 / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.007626, allocations: 0 / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.841e-05/0.007704, allocations: 55.97 kB / 0.9574 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.008129, allocations: 404.2 kB / 0.9578 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.008234, allocations: 50.48 kB / 0.9578 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.008265, allocations: 16.92 kB / 0.9578 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.008288, allocations: 0 / 0.9578 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.008581, allocations: 30.67 kB / 0.9579 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.008583, allocations: 7.938 kB / 0.9579 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/0.00879, allocations: 105.5 kB / 0.958 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.008819, allocations: 51.41 kB / 0.958 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.009255, allocations: 0.5796 MB / 0.9586 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.009266, allocations: 25.7 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.009357, allocations: 180 kB / 0.9588 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.009379, allocations: 15.83 kB / 0.9588 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.009409, allocations: 13.72 kB / 0.9588 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.009506, allocations: 350.8 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.009537, allocations: 7.984 kB / 0.9592 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.00956, allocations: 15.98 kB / 0.9592 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.009622, allocations: 36.84 kB / 0.9592 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.009624, allocations: 0 / 0.9592 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/0.009731, allocations: 89.48 kB / 0.9593 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.009748, allocations: 8 kB / 0.9593 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.009754, allocations: 0 / 0.9593 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.009771, allocations: 0 / 0.9593 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.009844, allocations: 11.92 kB / 0.9593 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009849, allocations: 4 kB / 0.9593 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.009884, allocations: 7.953 kB / 0.9593 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.009891, allocations: 7.938 kB / 0.9593 GB, free: 11.01 MB / 0.9167 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.0001157/0.01001, allocations: 181.8 kB / 0.9595 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.01004, allocations: 31.81 kB / 0.9595 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.01021, allocations: 100.7 kB / 0.9596 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01022, allocations: 48 / 0.9596 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.01022, allocations: 3.984 kB / 0.9596 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01023, allocations: 0 / 0.9596 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.01041, allocations: 217.2 kB / 0.9598 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01042, allocations: 0 / 0.9598 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.01045, allocations: 7.984 kB / 0.9598 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01045, allocations: 4 kB / 0.9599 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01046, allocations: 4 kB / 0.9599 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01046, allocations: 7.875 kB / 0.9599 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01047, allocations: 0 / 0.9599 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.01063, allocations: 187.2 kB / 0.96 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.01067, allocations: 43.8 kB / 0.9601 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01069, allocations: 3.938 kB / 0.9601 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.01074, allocations: 4 kB / 0.9601 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.01078, allocations: 3.984 kB / 0.9601 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.01079, allocations: 4 kB / 0.9601 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003198/0.01111, allocations: 439.1 kB / 0.9605 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01111, allocations: 0 / 0.9605 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001887/0.0113, allocations: 27.89 kB / 0.9605 GB, free: 9.707 MB / 0.9167 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.0006696/0.01197, allocations: 376.8 kB / 0.9609 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.01208, allocations: 39.86 kB / 0.9609 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01208, allocations: 0 / 0.9609 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.01211, allocations: 15.98 kB / 0.961 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01238, allocations: 45.72 kB / 0.961 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.0131, allocations: 0.5646 MB / 0.9616 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.01323, allocations: 186.1 kB / 0.9617 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.01328, allocations: 24.48 kB / 0.9618 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01328, allocations: 0 / 0.9618 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of Templates: time 0.00419/0.01747, allocations: 3.867 MB / 0.9655 GB, free: 4.695 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.7326415460556746]