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.0008101/0.0008101, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001352/0.001352, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.8774/0.8774, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.74/1.74, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.102e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002535/0.002556, allocations: 1.794 MB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.003858, allocations: 1.083 MB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.00396, allocations: 7.938 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.00446, allocations: 191 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.00496, allocations: 199.2 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.005373, allocations: 234.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.00569, allocations: 271.3 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.005861, allocations: 32.58 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.006115, allocations: 143.6 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.006294, allocations: 151.7 kB / 1.005 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.006325, allocations: 20 kB / 1.005 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.006447, allocations: 55.92 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.006534, allocations: 95.67 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.006591, allocations: 59.78 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.006946, allocations: 366.8 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.006952, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006953, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.006958, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 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.0006393/0.007597, allocations: 0.5585 MB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.007639, allocations: 13.34 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.007674, allocations: 34.75 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.007817, allocations: 44.69 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.008341, allocations: 371.9 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.008354, allocations: 8.375 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.008371, allocations: 384 / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.008527, allocations: 85.91 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.008537, allocations: 3.984 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.008548, allocations: 0 / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.008554, allocations: 4 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.008642, allocations: 51.91 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.009163, allocations: 427.7 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.00929, allocations: 46.67 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.009337, allocations: 32.78 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.009361, allocations: 0 / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.009382, allocations: 34.56 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.009383, allocations: 0 / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002191/0.009602, allocations: 105.4 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.009634, allocations: 51.41 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.01011, allocations: 0.5835 MB / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.01012, allocations: 25.7 kB / 1.008 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01022, allocations: 176 kB / 1.008 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.01024, allocations: 11.95 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.01027, allocations: 17.72 kB / 1.008 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.01037, allocations: 342.8 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.0104, allocations: 12 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.01043, allocations: 15.98 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.01049, allocations: 32.84 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01049, allocations: 3.938 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/0.0106, allocations: 93.44 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01061, allocations: 8 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01062, allocations: 4 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01063, allocations: 0 / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.01069, allocations: 7.984 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.0107, allocations: 3.938 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.01073, allocations: 4 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.01073, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 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.0001161/0.01085, allocations: 185.8 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01088, allocations: 35.77 kB / 1.009 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.01105, allocations: 100.7 kB / 1.009 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01106, allocations: 4 kB / 1.009 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01106, allocations: 48 / 1.009 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01107, allocations: 7.922 kB / 1.009 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01128, allocations: 240.6 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01129, allocations: 0 / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.01132, allocations: 11.98 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01132, allocations: 0 / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01133, allocations: 0 / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01133, allocations: 0 / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01133, allocations: 3.938 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.01147, allocations: 199.2 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.01151, allocations: 47.8 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01153, allocations: 0 / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.01158, allocations: 0 / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.01162, allocations: 7.938 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.01162, allocations: 11.92 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000331/0.01195, allocations: 431.1 kB / 1.01 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01195, allocations: 4 kB / 1.01 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001926/0.01215, allocations: 23.98 kB / 1.01 GB, free: 4.125 MB / 0.9636 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.0009744/0.01312, allocations: 0.989 MB / 1.011 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.01323, allocations: 27.92 kB / 1.011 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01324, allocations: 0 / 1.011 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.01326, allocations: 23.98 kB / 1.011 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.01355, allocations: 48.72 kB / 1.011 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.01611, allocations: 2.974 MB / 1.014 GB, free: 120 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.01628, allocations: 186.1 kB / 1.014 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000103/0.01638, allocations: 51.25 kB / 1.014 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.0165, allocations: 96.45 kB / 1.014 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of SimCode: time 1.172e-06/0.0165, allocations: 0 / 1.014 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08242/0.09893, allocations: 6.507 MB / 1.02 GB, free: 9.355 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.353, allocations: 9.281 kB / 1.02 GB, free: 9.352 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.756220658309758]