Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007589/0.0007589, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0008075/0.0008075, allocations: 209.2 kB / 23.02 MB, free: 2.961 MB / 13.93 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.9721/0.9721, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.927/1.927, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7343, allocations: 180 MB / 1.352 GB, free: 1.688 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002814/0.7372, allocations: 1.801 MB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7384, allocations: 1.076 MB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.7385, allocations: 4 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.7392, allocations: 195.8 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.7395, allocations: 214.4 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.7398, allocations: 227.6 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.7401, allocations: 271.3 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.7402, allocations: 34.83 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.7404, allocations: 123.6 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.7405, allocations: 163.5 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.7406, allocations: 20 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.7407, allocations: 51.97 kB / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.743e-05/0.7407, allocations: 95.67 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.7408, allocations: 91.34 kB / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.7411, allocations: 382.4 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7411, allocations: 0 / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7411, allocations: 4 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.7411, allocations: 0 / 1.357 GB, free: 12.97 MB / 1.042 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.0005663/0.7417, allocations: 0.5508 MB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.7417, allocations: 16.81 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.7418, allocations: 38.75 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.7419, allocations: 44.69 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.7424, allocations: 368.7 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7424, allocations: 8.375 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7424, allocations: 11.94 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.7426, allocations: 81.53 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.7426, allocations: 0 / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.7426, allocations: 4 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7426, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.7427, allocations: 43.97 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.7431, allocations: 435.6 kB / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.7433, allocations: 42.56 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.7433, allocations: 20.92 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.7433, allocations: 3.984 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7433, allocations: 34.67 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.7433, allocations: 3.938 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002257/0.7436, allocations: 109.3 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.7436, allocations: 55.41 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.7441, allocations: 0.5757 MB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.7441, allocations: 25.7 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.7442, allocations: 180 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.7442, allocations: 11.89 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.7443, allocations: 17.72 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7444, allocations: 346.8 kB / 1.36 GB, free: 9.793 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.7444, allocations: 8 kB / 1.36 GB, free: 9.785 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.7444, allocations: 15.98 kB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.623e-05/0.7445, allocations: 33.06 kB / 1.36 GB, free: 9.734 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7445, allocations: 4 kB / 1.36 GB, free: 9.73 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001129/0.7446, allocations: 97.42 kB / 1.36 GB, free: 9.629 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7446, allocations: 4 kB / 1.36 GB, free: 9.625 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7446, allocations: 4 kB / 1.36 GB, free: 9.621 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7447, allocations: 3.938 kB / 1.36 GB, free: 9.617 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.7447, allocations: 11.98 kB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7447, allocations: 0 / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.7448, allocations: 0 / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.7448, allocations: 4 kB / 1.36 GB, free: 9.602 MB / 1.042 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.0001239/0.7449, allocations: 181.8 kB / 1.36 GB, free: 9.414 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.7449, allocations: 31.81 kB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.7451, allocations: 108.2 kB / 1.36 GB, free: 9.262 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7451, allocations: 4 kB / 1.36 GB, free: 9.258 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7451, allocations: 0 / 1.36 GB, free: 9.258 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7451, allocations: 0 / 1.36 GB, free: 9.258 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.7453, allocations: 248.6 kB / 1.361 GB, free: 8.973 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7453, allocations: 0 / 1.361 GB, free: 8.973 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.7453, allocations: 7.984 kB / 1.361 GB, free: 8.965 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7453, allocations: 0 / 1.361 GB, free: 8.965 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.7453, allocations: 3.938 kB / 1.361 GB, free: 8.961 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7453, allocations: 4 kB / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7454, allocations: 0 / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.7455, allocations: 187.3 kB / 1.361 GB, free: 8.758 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.7455, allocations: 47.75 kB / 1.361 GB, free: 8.711 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.7455, allocations: 7.875 kB / 1.361 GB, free: 8.703 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.7456, allocations: 4 kB / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.7456, allocations: 0 / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.7456, allocations: 0 / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003029/0.7459, allocations: 439.1 kB / 1.361 GB, free: 8.277 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7459, allocations: 0 / 1.361 GB, free: 8.277 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001781/0.7461, allocations: 27.92 kB / 1.361 GB, free: 8.25 MB / 1.042 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.0009738/0.7471, allocations: 0.9987 MB / 1.362 GB, free: 7.379 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.7472, allocations: 31.86 kB / 1.362 GB, free: 7.348 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7472, allocations: 4 kB / 1.362 GB, free: 7.344 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.7472, allocations: 19.98 kB / 1.362 GB, free: 7.324 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.7478, allocations: 42.64 kB / 1.362 GB, free: 7.285 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.7504, allocations: 2.956 MB / 1.365 GB, free: 4.25 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.7505, allocations: 182.1 kB / 1.366 GB, free: 4.055 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 9.22e-05/0.7506, allocations: 51.19 kB / 1.366 GB, free: 4.004 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.7507, allocations: 95.41 kB / 1.366 GB, free: 3.914 MB / 1.042 GB Notification: Performance of SimCode: time 1.753e-06/0.7507, allocations: 0 / 1.366 GB, free: 3.914 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/0.8342, allocations: 6.361 MB / 1.372 GB, free: 13.62 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/8.036, allocations: 6.906 kB / 1.372 GB, free: 13.62 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.93733887001872]