Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 189.3 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 63.89 kB / 1.061 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7745, allocations: 160.8 MB / 1.218 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003443/0.778, allocations: 1.804 MB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.7797, allocations: 0.9395 MB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.7798, allocations: 5.062 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.7803, allocations: 193.9 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.7808, allocations: 160.2 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.7813, allocations: 213.6 kB / 1.222 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000437/0.7818, allocations: 246.6 kB / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.7819, allocations: 38 kB / 1.222 GB, free: 1.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.7821, allocations: 100.1 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.7824, allocations: 171.1 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.465e-05/0.7825, allocations: 19.69 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.7826, allocations: 46.73 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.7827, allocations: 85.66 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.7829, allocations: 119.7 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.7833, allocations: 357.2 kB / 1.223 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7833, allocations: 0 / 1.223 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7833, allocations: 1.094 kB / 1.223 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.7834, allocations: 0 / 1.223 GB, free: 0.5273 MB / 0.92 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.001167/0.7845, allocations: 0.6159 MB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7846, allocations: 8.969 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.7847, allocations: 38.48 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.7854, allocations: 419.5 kB / 1.224 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.7855, allocations: 6.469 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.7855, allocations: 5.281 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.7857, allocations: 79.28 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7857, allocations: 3.938 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7857, allocations: 1.344 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.7857, allocations: 1.344 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.7858, allocations: 52.09 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.7866, allocations: 486.6 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.7867, allocations: 46.69 kB / 1.225 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.7868, allocations: 21.16 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.7868, allocations: 1.094 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7869, allocations: 31.69 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7869, allocations: 0 / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003527/0.7872, allocations: 111.7 kB / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.7873, allocations: 51.41 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/0.788, allocations: 0.55 MB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.788, allocations: 29.7 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.7882, allocations: 174.7 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.7882, allocations: 9.375 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.7882, allocations: 21.98 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7884, allocations: 343.9 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.7885, allocations: 15.08 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.7885, allocations: 12.52 kB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/0.7886, allocations: 35.8 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7886, allocations: 0 / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001948/0.7888, allocations: 89.62 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7888, allocations: 9.359 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7888, allocations: 0 / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.7889, allocations: 5.062 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.7889, allocations: 5.219 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7889, allocations: 1.125 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.789, allocations: 9.875 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.789, allocations: 5.078 kB / 1.226 GB, free: 13.84 MB / 0.9356 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.0001999/0.7892, allocations: 183.8 kB / 1.226 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.7893, allocations: 28.59 kB / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.7895, allocations: 99.73 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7895, allocations: 5 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7895, allocations: 3.984 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7895, allocations: 5.062 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.7899, allocations: 286.6 kB / 1.227 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7899, allocations: 0 / 1.227 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.7899, allocations: 14.39 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7899, allocations: 384 / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.7899, allocations: 1.344 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7899, allocations: 0 / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7899, allocations: 4 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.7902, allocations: 192.6 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.7903, allocations: 118.9 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.7903, allocations: 0 / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.7904, allocations: 2.219 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.7905, allocations: 5.125 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.7905, allocations: 1.156 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005143/0.791, allocations: 426 kB / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.791, allocations: 4 kB / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002781/0.7913, allocations: 25.09 kB / 1.227 GB, free: 12.77 MB / 0.9356 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.001322/0.7926, allocations: 356.6 kB / 1.228 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.7928, allocations: 26.7 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7928, allocations: 0 / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.7928, allocations: 17.86 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.7933, allocations: 40 kB / 1.228 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.7943, allocations: 0.5242 MB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.7948, allocations: 0.7955 MB / 1.229 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.7949, allocations: 43.95 kB / 1.229 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.7949, allocations: 20.41 kB / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of SimCode: time 7.82e-07/0.7949, allocations: 0 / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.007069/0.802, allocations: 2.516 MB / 1.232 GB, free: 9.656 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.456172643229365]