Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.0008986/0.0008986, allocations: 80.55 kB / 19.96 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.0009072/0.0009072, 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.8807/0.8807, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.805/1.805, allocations: 389.6 MB / 0.6343 GB, free: 12.62 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.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.765e-05, allocations: 9.797 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001682/0.00171, allocations: 0.6968 MB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.002514, allocations: 0.8199 MB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.002554, allocations: 0 / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.002581, allocations: 11.94 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.002651, allocations: 7.875 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.308e-05/0.002734, allocations: 11.98 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.002814, allocations: 43.86 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002923, allocations: 11.97 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.003004, allocations: 23.92 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.003042, allocations: 19.97 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.00306, allocations: 7.938 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.003068, allocations: 4 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.003085, allocations: 4 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.003118, allocations: 15.98 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.003214, allocations: 47.8 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.003222, allocations: 0 / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.144e-06/0.003225, allocations: 0 / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.00323, allocations: 0 / 1.002 GB, free: 11.76 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004022/0.003632, allocations: 290.2 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.003673, allocations: 9.344 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.003708, allocations: 38.69 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.00373, allocations: 4.891 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.003813, allocations: 113.8 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.003823, allocations: 384 / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.003832, allocations: 4.375 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.004006, allocations: 66.22 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004014, allocations: 192 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.004027, allocations: 4.359 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004033, allocations: 4.125 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.004185, allocations: 63.94 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.004524, allocations: 239.9 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.004667, allocations: 46.55 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.00476, allocations: 48.89 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.004773, allocations: 7.938 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.004795, allocations: 34.56 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004796, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003372/0.005133, allocations: 133.5 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.005173, allocations: 51.41 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.005258, allocations: 117.8 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.005271, allocations: 25.7 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.005316, allocations: 88.14 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.005337, allocations: 7.953 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.005373, allocations: 13.72 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.005476, allocations: 318.8 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.005562, allocations: 27.97 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.005634, allocations: 35.95 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.005779, allocations: 64.8 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.005782, allocations: 0 / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001931/0.005975, allocations: 109.4 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.005992, allocations: 8 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005997, allocations: 3.938 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.006012, allocations: 4 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.00611, allocations: 11.98 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.006116, allocations: 0 / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.006158, allocations: 15.98 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.006168, allocations: 4 kB / 1.004 GB, free: 9.586 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 6.996e-05/0.006238, allocations: 116.5 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.006254, allocations: 7.938 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.006283, allocations: 8 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.006286, allocations: 4 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.006291, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.006295, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.006427, allocations: 128.8 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006429, allocations: 0 / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.006479, allocations: 31.84 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006482, allocations: 0 / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006489, allocations: 0 / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00649, allocations: 0 / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006491, allocations: 0 / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.006724, allocations: 195.4 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.006733, allocations: 4.312 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.006745, allocations: 0 / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.006796, allocations: 15.97 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.006845, allocations: 8 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.006849, allocations: 3.938 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.006893, allocations: 87.27 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006893, allocations: 8 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001677/0.007061, allocations: 11.89 kB / 1.005 GB, free: 8.895 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.0005006/0.007562, allocations: 0.7318 MB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.007781, allocations: 71.92 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.007784, allocations: 0 / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.007862, allocations: 35.91 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.00819, allocations: 6.656 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.008615, allocations: 159.2 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.00867, allocations: 71.28 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.008701, allocations: 3.984 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.008746, allocations: 16.5 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of SimCode: time 5.82e-07/0.008747, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08497/0.09371, allocations: 2.309 MB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.674, allocations: 13 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.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_Reals_Validation_Add.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Add_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.157422905787826]