Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.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.0008055/0.0008055, 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.0008868/0.0008868, 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.979/0.979, allocations: 177.1 MB / 203.5 MB, free: 5.539 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.94/1.94, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.126e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002037/0.002058, allocations: 1.592 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.002948, allocations: 0.5851 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.003021, allocations: 4 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.003127, allocations: 7.875 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.003156, allocations: 15.8 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.003481, allocations: 67.78 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003616, allocations: 91.7 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.003757, allocations: 27.91 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.003902, allocations: 63.81 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.003969, allocations: 31.89 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.003987, allocations: 4 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.004054, allocations: 19.98 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.004093, allocations: 23.92 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.004128, allocations: 23.91 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.00428, allocations: 107.6 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.004285, allocations: 4 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.011e-06/0.004286, allocations: 4 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004291, allocations: 3.938 kB / 1.003 GB, free: 10.83 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004163/0.004707, allocations: 329.9 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.004751, allocations: 9.344 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.004787, allocations: 38.75 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.004967, allocations: 36.81 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.005174, allocations: 151 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.005185, allocations: 4.375 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005196, allocations: 4.375 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.005379, allocations: 113.9 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005386, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005397, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005402, allocations: 3.938 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.005537, allocations: 91.94 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.005952, allocations: 347.7 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.25e-05/0.006045, allocations: 54.55 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.006112, allocations: 44.95 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.006145, allocations: 3.984 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.006164, allocations: 38.56 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006165, allocations: 0 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002955/0.00646, allocations: 165.5 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.006487, allocations: 55.41 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.006576, allocations: 143.2 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.006588, allocations: 25.7 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.006634, allocations: 104.1 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.006658, allocations: 23.94 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.006689, allocations: 17.7 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.006767, allocations: 318.8 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.00683, allocations: 43.97 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.006884, allocations: 39.91 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.007008, allocations: 97.17 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007009, allocations: 4 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001565/0.007166, allocations: 129.5 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.007178, allocations: 8 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007182, allocations: 0 / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007195, allocations: 3.938 kB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.007276, allocations: 15.98 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007281, allocations: 4 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.007315, allocations: 11.94 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.007332, allocations: 4 kB / 1.006 GB, free: 8.199 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 (6): * Single equations (assignments): 6 * 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.988e-05/0.007402, allocations: 120.5 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.007421, allocations: 11.89 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.007641, allocations: 150.3 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007645, allocations: 3.938 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.007649, allocations: 0 / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007652, allocations: 0 / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.0078, allocations: 172.7 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007802, allocations: 0 / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.007852, allocations: 15.98 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007854, allocations: 0 / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.007863, allocations: 7.984 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.007865, allocations: 3.938 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007866, allocations: 4 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.00806, allocations: 231.5 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.008073, allocations: 15.84 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.008088, allocations: 0 / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.008135, allocations: 11.94 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.00818, allocations: 7.984 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.008188, allocations: 11.98 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.008235, allocations: 105.3 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008235, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001725/0.008407, allocations: 12 kB / 1.007 GB, free: 7.258 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 (6): * Single equations (assignments): 6 * 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.0004144/0.008821, allocations: 0.7631 MB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.008993, allocations: 99.86 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008994, allocations: 4 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.009057, allocations: 47.97 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.00923, allocations: 4 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.01057, allocations: 1.627 MB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.01064, allocations: 84.31 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.808e-05/0.01069, allocations: 19.91 kB / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.01074, allocations: 32.42 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.01074, allocations: 0 / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08809/0.09883, allocations: 2.731 MB / 1.012 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.264, allocations: 11.81 kB / 1.012 GB, free: 1.852 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_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_Utilities_Math_Examples_VectorFunctions.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.952939254231751]