Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.0008935/0.0008935, allocations: 104.3 kB / 19.72 MB, free: 424 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.0009699/0.0009699, allocations: 210.8 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.9805/0.9805, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.951/1.951, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 69.19 kB / 1.177 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 180 MB / 1.352 GB, free: 9.266 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001959/0.3682, allocations: 0.8235 MB / 1.353 GB, free: 8.445 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3692, allocations: 0.9172 MB / 1.354 GB, free: 7.516 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.3693, allocations: 7.938 kB / 1.354 GB, free: 7.508 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3694, allocations: 11.86 kB / 1.354 GB, free: 7.496 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.3696, allocations: 19.75 kB / 1.354 GB, free: 7.477 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3698, allocations: 59.92 kB / 1.354 GB, free: 7.418 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3699, allocations: 127.7 kB / 1.354 GB, free: 7.293 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3701, allocations: 37.03 kB / 1.354 GB, free: 7.258 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.3703, allocations: 51.84 kB / 1.354 GB, free: 7.207 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3705, allocations: 75.72 kB / 1.355 GB, free: 7.133 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3705, allocations: 12 kB / 1.355 GB, free: 7.121 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.3705, allocations: 12 kB / 1.355 GB, free: 7.109 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.3706, allocations: 35.89 kB / 1.355 GB, free: 7.074 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3706, allocations: 51.72 kB / 1.355 GB, free: 7.023 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3708, allocations: 151.5 kB / 1.355 GB, free: 6.875 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3708, allocations: 0 / 1.355 GB, free: 6.875 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3708, allocations: 4 kB / 1.355 GB, free: 6.871 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3708, allocations: 0 / 1.355 GB, free: 6.871 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006507/0.3714, allocations: 365.8 kB / 1.355 GB, free: 6.484 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3715, allocations: 8.922 kB / 1.355 GB, free: 6.477 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.3715, allocations: 46.73 kB / 1.355 GB, free: 6.422 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3716, allocations: 16.84 kB / 1.355 GB, free: 6.406 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3718, allocations: 142.9 kB / 1.355 GB, free: 6.242 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3718, allocations: 11.94 kB / 1.355 GB, free: 6.23 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3718, allocations: 12 kB / 1.355 GB, free: 6.219 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.3721, allocations: 147.3 kB / 1.356 GB, free: 6.07 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3721, allocations: 0 / 1.356 GB, free: 6.07 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3721, allocations: 4 kB / 1.356 GB, free: 6.066 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3722, allocations: 4 kB / 1.356 GB, free: 6.062 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.3725, allocations: 151.8 kB / 1.356 GB, free: 5.914 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.373, allocations: 367.6 kB / 1.356 GB, free: 5.512 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.3736, allocations: 178.5 kB / 1.356 GB, free: 5.328 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3737, allocations: 80.86 kB / 1.356 GB, free: 5.246 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3738, allocations: 0 / 1.356 GB, free: 5.246 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3738, allocations: 34.56 kB / 1.356 GB, free: 5.203 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.3738, allocations: 0 / 1.356 GB, free: 5.203 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0005693/0.3744, allocations: 285.4 kB / 1.357 GB, free: 4.918 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3744, allocations: 51.41 kB / 1.357 GB, free: 4.855 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3745, allocations: 152.9 kB / 1.357 GB, free: 4.691 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3745, allocations: 25.7 kB / 1.357 GB, free: 4.66 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.3746, allocations: 112 kB / 1.357 GB, free: 4.547 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3746, allocations: 31.73 kB / 1.357 GB, free: 4.516 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.3746, allocations: 25.7 kB / 1.357 GB, free: 4.484 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.3747, allocations: 323.2 kB / 1.357 GB, free: 4.16 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3749, allocations: 79.86 kB / 1.357 GB, free: 4.082 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.375, allocations: 79.86 kB / 1.357 GB, free: 4.004 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3753, allocations: 152.7 kB / 1.358 GB, free: 3.852 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3753, allocations: 0 / 1.358 GB, free: 3.852 MB / 1.042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000323/0.3756, allocations: 209.4 kB / 1.358 GB, free: 3.641 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3756, allocations: 8 kB / 1.358 GB, free: 3.633 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3756, allocations: 0 / 1.358 GB, free: 3.633 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3757, allocations: 0 / 1.358 GB, free: 3.633 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3758, allocations: 39.95 kB / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3758, allocations: 0 / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.622e-05/0.3759, allocations: 27.86 kB / 1.358 GB, free: 3.566 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3759, allocations: 11.94 kB / 1.358 GB, free: 3.555 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.738e-05/0.376, allocations: 126.4 kB / 1.358 GB, free: 3.422 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.376, allocations: 11.89 kB / 1.358 GB, free: 3.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3761, allocations: 16.72 kB / 1.358 GB, free: 3.391 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3761, allocations: 4 kB / 1.358 GB, free: 3.387 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3761, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.3761, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.3763, allocations: 188.6 kB / 1.358 GB, free: 3.16 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3763, allocations: 3.938 kB / 1.358 GB, free: 3.156 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3764, allocations: 39.95 kB / 1.358 GB, free: 3.117 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3764, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3764, allocations: 7.984 kB / 1.358 GB, free: 3.109 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3764, allocations: 0 / 1.358 GB, free: 3.109 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3764, allocations: 288 / 1.358 GB, free: 3.109 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.3768, allocations: 303.2 kB / 1.358 GB, free: 2.797 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3768, allocations: 23.77 kB / 1.359 GB, free: 2.773 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3768, allocations: 0 / 1.359 GB, free: 2.773 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.3769, allocations: 19.97 kB / 1.359 GB, free: 2.754 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.377, allocations: 35.89 kB / 1.359 GB, free: 2.719 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.377, allocations: 8 kB / 1.359 GB, free: 2.711 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.377, allocations: 113.7 kB / 1.359 GB, free: 2.602 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.377, allocations: 0 / 1.359 GB, free: 2.602 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000173/0.3772, allocations: 23.95 kB / 1.359 GB, free: 2.578 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005841/0.3778, allocations: 0.8372 MB / 1.36 GB, free: 1.715 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3781, allocations: 171.8 kB / 1.36 GB, free: 1.547 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3781, allocations: 0 / 1.36 GB, free: 1.547 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3783, allocations: 95.91 kB / 1.36 GB, free: 1.453 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3785, allocations: 16.55 kB / 1.36 GB, free: 1.438 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3805, allocations: 1.856 MB / 1.362 GB, free: 15.5 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.3806, allocations: 85.19 kB / 1.362 GB, free: 15.39 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.3807, allocations: 28.42 kB / 1.362 GB, free: 15.37 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.3808, allocations: 47.41 kB / 1.362 GB, free: 15.32 MB / 1.057 GB Notification: Performance of SimCode: time 1.272e-06/0.3808, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09335/0.4741, allocations: 4.549 MB / 1.366 GB, free: 10.93 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.935, allocations: 4.562 kB / 1.366 GB, free: 10.93 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.400067978538573]