Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.0009144/0.0009144, 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.001093/0.001093, allocations: 207.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 1.052/1.052, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.92/1.92, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 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.Add,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8185, allocations: 180 MB / 1.352 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002005/0.8205, allocations: 0.7568 MB / 1.353 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.8216, allocations: 0.8783 MB / 1.354 GB, free: 0 / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.8217, allocations: 128 / 1.354 GB, free: 16 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.8217, allocations: 11.81 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.8218, allocations: 19.91 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.822, allocations: 43.78 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.8221, allocations: 75.89 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.8222, allocations: 19.97 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.8223, allocations: 43.78 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.8224, allocations: 47.81 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.8225, allocations: 8 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.8225, allocations: 8 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.8225, allocations: 19.92 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.8225, allocations: 27.86 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.8227, allocations: 89.91 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8227, allocations: 0 / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8227, allocations: 4 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.8227, allocations: 0 / 1.354 GB, free: 15.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005359/0.8232, allocations: 311.8 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.8233, allocations: 16.84 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.8233, allocations: 38.75 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8234, allocations: 12.83 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.8235, allocations: 126.4 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.8235, allocations: 4.375 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.8235, allocations: 12.12 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.8238, allocations: 109.6 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8238, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8238, allocations: 4 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8238, allocations: 0 / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.824, allocations: 100.7 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.8245, allocations: 287.8 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.825, allocations: 122.5 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.8251, allocations: 52.8 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.8251, allocations: 4 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.8252, allocations: 34.56 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.8252, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0004918/0.8256, allocations: 185.7 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.8257, allocations: 51.41 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.8258, allocations: 133.7 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.8258, allocations: 25.7 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.8258, allocations: 96.06 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.8259, allocations: 19.86 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.8259, allocations: 25.7 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.826, allocations: 318.8 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.8261, allocations: 43.95 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.8263, allocations: 48.02 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.8265, allocations: 100.8 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8265, allocations: 3.938 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002933/0.8268, allocations: 141.5 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8268, allocations: 4 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8268, allocations: 0 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8268, allocations: 4 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.8269, allocations: 35.91 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.827, allocations: 3.938 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.827, allocations: 15.92 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.827, allocations: 0 / 1.357 GB, free: 12.96 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.258e-05/0.8271, allocations: 114.4 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.8272, allocations: 11.94 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.8272, allocations: 12.38 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8272, allocations: 0 / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8272, allocations: 7.938 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8272, allocations: 7.938 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.8274, allocations: 148.7 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8274, allocations: 0 / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.8275, allocations: 23.97 kB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.8275, allocations: 7.984 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.8275, allocations: 3.984 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8275, allocations: 0 / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8275, allocations: 7.875 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.8278, allocations: 239.4 kB / 1.357 GB, free: 12.31 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.8279, allocations: 7.953 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.8279, allocations: 0 / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.828, allocations: 15.98 kB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.828, allocations: 19.91 kB / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.828, allocations: 8 kB / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.542e-05/0.8281, allocations: 95.7 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.8281, allocations: 0 / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002334/0.8283, allocations: 12 kB / 1.358 GB, free: 12.16 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005851/0.8289, allocations: 0.7709 MB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.8292, allocations: 99.91 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8292, allocations: 7.938 kB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.8294, allocations: 63.86 kB / 1.358 GB, free: 11.19 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.8297, allocations: 12.64 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.8318, allocations: 1.533 MB / 1.36 GB, free: 9.566 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.8319, allocations: 79.33 kB / 1.36 GB, free: 9.469 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.391e-05/0.8319, allocations: 12 kB / 1.36 GB, free: 9.457 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.832, allocations: 27.42 kB / 1.36 GB, free: 9.43 MB / 1.042 GB Notification: Performance of SimCode: time 9.92e-07/0.832, allocations: 0 / 1.36 GB, free: 9.43 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09162/0.9236, allocations: 3.364 MB / 1.363 GB, free: 6.215 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/8.042, allocations: 9.25 kB / 1.363 GB, free: 6.207 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add_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_Add.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Add_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.003175771795213]