Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001874/0.001874, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001571/0.001571, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.054/3.054, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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.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_latest_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.002124/0.002124, allocations: 63.84 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8129, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003003/0.8159, allocations: 1.802 MB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.8174, allocations: 1.081 MB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.8175, allocations: 5.812 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.8181, allocations: 188.8 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.8185, allocations: 214.1 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.819, allocations: 223.1 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.8193, allocations: 267.4 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.8194, allocations: 41.09 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.8196, allocations: 116 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.8199, allocations: 174.7 kB / 1.191 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.8199, allocations: 20.09 kB / 1.191 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.82, allocations: 50.86 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.8201, allocations: 95.44 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.8202, allocations: 88.89 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.8207, allocations: 378.4 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8207, allocations: 1.156 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8207, allocations: 4 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.8207, allocations: 0 / 1.191 GB, free: 13.47 MB / 1.076 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.0007359/0.8214, allocations: 0.5503 MB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.8214, allocations: 17.88 kB / 1.192 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.8216, allocations: 44.14 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.8222, allocations: 367.9 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.8222, allocations: 6.562 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.8222, allocations: 8.281 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8224, allocations: 74.38 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8224, allocations: 4 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.8224, allocations: 1.188 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8224, allocations: 1.094 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.8225, allocations: 52.08 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.823, allocations: 401 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.8231, allocations: 49.86 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.8232, allocations: 18.98 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.8232, allocations: 1.844 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.8232, allocations: 36.25 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8232, allocations: 0 / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002795/0.8235, allocations: 105.2 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.8235, allocations: 57.06 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/0.8242, allocations: 0.5745 MB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.8242, allocations: 25.7 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.8243, allocations: 184.1 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.8243, allocations: 9.406 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.8244, allocations: 13.94 kB / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.8244, allocations: 348.8 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.8245, allocations: 17.38 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.958e-05/0.8245, allocations: 10.33 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.002e-05/0.8246, allocations: 34.97 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8246, allocations: 0 / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001631/0.8248, allocations: 97.41 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.8248, allocations: 4.812 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.8248, allocations: 5.125 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8248, allocations: 0.75 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.8249, allocations: 15.17 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.8249, allocations: 4.719 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.8249, allocations: 3.406 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.825, allocations: 1.156 kB / 1.194 GB, free: 11.28 MB / 1.076 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.0001215/0.8251, allocations: 182.3 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.8251, allocations: 30.86 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.8253, allocations: 99.3 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8253, allocations: 2.078 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8253, allocations: 7.875 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8253, allocations: 4.109 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.8256, allocations: 224 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8256, allocations: 1.156 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.8256, allocations: 7.469 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8256, allocations: 0 / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.8256, allocations: 1.703 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8256, allocations: 0 / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8256, allocations: 1.812 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.8258, allocations: 185.8 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.8259, allocations: 41.94 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.8259, allocations: 4 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.826, allocations: 3.969 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.8261, allocations: 6.141 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.8261, allocations: 2.125 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004415/0.8265, allocations: 435.9 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8265, allocations: 3.938 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00028/0.8268, allocations: 30.14 kB / 1.195 GB, free: 10.5 MB / 1.076 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.001332/0.8281, allocations: 387.9 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.8283, allocations: 28.55 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8283, allocations: 0 / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.8283, allocations: 17.61 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.8287, allocations: 46.92 kB / 1.196 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.8295, allocations: 0.5483 MB / 1.196 GB, free: 9.965 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.8297, allocations: 186.6 kB / 1.197 GB, free: 9.863 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.8298, allocations: 53.41 kB / 1.197 GB, free: 9.855 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.8299, allocations: 23.84 kB / 1.197 GB, free: 9.848 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.8299, allocations: 0 / 1.197 GB, free: 9.848 MB / 1.076 GB Notification: Performance of Templates: time 0.006969/0.8368, allocations: 2.697 MB / 1.199 GB, free: 9.5 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.82658608397469]