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.001371/0.001371, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001519/0.001519, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.8 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 65.83 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003557/0.353, allocations: 1.852 MB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.355, allocations: 1.146 MB / 1.288 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3551, allocations: 7.938 kB / 1.288 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.3556, allocations: 184.3 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.3561, allocations: 220.8 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.3567, allocations: 223.3 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.357, allocations: 263.4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3572, allocations: 48.5 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3574, allocations: 111.6 kB / 1.289 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3577, allocations: 179.4 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.3577, allocations: 20 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3578, allocations: 59.92 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3579, allocations: 83.75 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3581, allocations: 131.1 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.3585, allocations: 378.4 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3585, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3585, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3585, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 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.0009407/0.3595, allocations: 0.5625 MB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3595, allocations: 8.031 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.3597, allocations: 40.7 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.3604, allocations: 380.6 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3604, allocations: 384 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3604, allocations: 12.12 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3606, allocations: 77.66 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3606, allocations: 0 / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3607, allocations: 0 / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3607, allocations: 4 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3608, allocations: 51.91 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.3614, allocations: 451.6 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.3616, allocations: 46.56 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.3616, allocations: 20.84 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3617, allocations: 8 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3617, allocations: 34.56 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3617, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003115/0.362, allocations: 109.4 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.362, allocations: 55.34 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.3628, allocations: 0.5719 MB / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3628, allocations: 25.7 kB / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3629, allocations: 184 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.363, allocations: 11.91 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.363, allocations: 17.7 kB / 1.292 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3632, allocations: 342.8 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.3632, allocations: 11.98 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.3633, allocations: 15.98 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.3634, allocations: 32.84 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3634, allocations: 4 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001772/0.3635, allocations: 97.42 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3636, allocations: 4 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3636, allocations: 0 / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3636, allocations: 3.938 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.3637, allocations: 8 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3637, allocations: 0 / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.3637, allocations: 11.86 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3637, allocations: 0 / 1.292 GB, free: 3.02 MB / 0.9825 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.0001695/0.3639, allocations: 185.8 kB / 1.293 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.364, allocations: 35.77 kB / 1.293 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.3642, allocations: 100.7 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3642, allocations: 7.969 kB / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3642, allocations: 0 / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3642, allocations: 112 / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3645, allocations: 272.5 kB / 1.293 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3645, allocations: 0 / 1.293 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.3646, allocations: 11.98 kB / 1.293 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3646, allocations: 4 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3646, allocations: 0 / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3646, allocations: 3.938 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3646, allocations: 0 / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.3648, allocations: 191.3 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.3649, allocations: 39.8 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3649, allocations: 0 / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.365, allocations: 11.94 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.365, allocations: 4 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.365, allocations: 0 / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004812/0.3655, allocations: 431.1 kB / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002723/0.3658, allocations: 28 kB / 1.294 GB, free: 1.641 MB / 0.9825 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.001347/0.3671, allocations: 358.8 kB / 1.294 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.3673, allocations: 31.97 kB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3673, allocations: 0 / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.3674, allocations: 15.98 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3678, allocations: 46.34 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.3687, allocations: 0.586 MB / 1.295 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.3692, allocations: 0.7831 MB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.3692, allocations: 27.44 kB / 1.296 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3692, allocations: 4 kB / 1.296 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of Templates: time 0.006642/0.3759, allocations: 3.755 MB / 1.299 GB, free: 12.11 MB / 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/jenkins1/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: 11.730181132996222]