Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0009862/0.0009862, allocations: 100.3 kB / 19.72 MB, free: 428 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.001114/0.001114, allocations: 218.8 kB / 23.03 MB, free: 2.949 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.9922/0.9922, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.999/1.999, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 75.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8448/0.8463, allocations: 180 MB / 1.352 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002122/0.8484, allocations: 1.422 MB / 1.354 GB, free: 220 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.8505, allocations: 2.402 MB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.8505, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.8516, allocations: 0.5423 MB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.8517, allocations: 31.78 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 4.749e-06/0.8517, allocations: 0 / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.8519, allocations: 151 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.8519, allocations: 16.58 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.852, allocations: 63.72 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.8521, allocations: 79.58 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.8522, allocations: 0 / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.8527, allocations: 407.5 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.8528, allocations: 35.78 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.8528, allocations: 79.53 kB / 1.358 GB, free: 12.41 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.8533, allocations: 438 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8533, allocations: 0 / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8533, allocations: 4 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.8533, allocations: 0 / 1.358 GB, free: 11.98 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005671/0.8538, allocations: 488.7 kB / 1.358 GB, free: 11.47 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8539, allocations: 16.86 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.8539, allocations: 106 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.854, allocations: 104 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.8542, allocations: 244.6 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.8542, allocations: 154.9 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.8543, allocations: 158.9 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.341e-05/0.8543, allocations: 105.5 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.8544, allocations: 79.22 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.8544, allocations: 154.6 kB / 1.359 GB, free: 10.33 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.8544, allocations: 150.6 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.8545, allocations: 158.5 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.8548, allocations: 0.4968 MB / 1.36 GB, free: 9.488 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.8548, allocations: 173.1 kB / 1.36 GB, free: 9.309 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.8549, allocations: 84.14 kB / 1.361 GB, free: 9.223 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.8549, allocations: 75.28 kB / 1.361 GB, free: 9.148 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.8549, allocations: 109.8 kB / 1.361 GB, free: 9.031 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.8549, allocations: 7.984 kB / 1.361 GB, free: 9.023 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 0.0001172/0.855, allocations: 57.45 kB / 1.361 GB, free: 8.961 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.8551, allocations: 126.7 kB / 1.361 GB, free: 8.824 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.8554, allocations: 433.3 kB / 1.361 GB, free: 8.387 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.8554, allocations: 25.7 kB / 1.361 GB, free: 8.355 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.8555, allocations: 140.6 kB / 1.361 GB, free: 8.211 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.8555, allocations: 0 / 1.361 GB, free: 8.211 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.8555, allocations: 89.66 kB / 1.362 GB, free: 8.117 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.8556, allocations: 342.8 kB / 1.362 GB, free: 7.773 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.8557, allocations: 96.59 kB / 1.362 GB, free: 7.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.8558, allocations: 173.7 kB / 1.362 GB, free: 7.488 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.856, allocations: 301.7 kB / 1.362 GB, free: 7.172 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8561, allocations: 4 kB / 1.362 GB, free: 7.168 MB / 1.042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003517/0.8564, allocations: 329 kB / 1.363 GB, free: 6.84 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8564, allocations: 11.94 kB / 1.363 GB, free: 6.828 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8564, allocations: 0 / 1.363 GB, free: 6.828 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8564, allocations: 7.984 kB / 1.363 GB, free: 6.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.8564, allocations: 0 / 1.363 GB, free: 6.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8564, allocations: 4 kB / 1.363 GB, free: 6.816 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.8565, allocations: 43.56 kB / 1.363 GB, free: 6.773 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.8565, allocations: 4 kB / 1.363 GB, free: 6.77 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001696/0.8567, allocations: 249.9 kB / 1.363 GB, free: 6.516 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.8568, allocations: 132.7 kB / 1.363 GB, free: 6.379 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.8568, allocations: 118.7 kB / 1.363 GB, free: 6.254 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.785e-05/0.8569, allocations: 184.2 kB / 1.363 GB, free: 6.066 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-05/0.8569, allocations: 180.2 kB / 1.364 GB, free: 5.883 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/0.8569, allocations: 184.2 kB / 1.364 GB, free: 5.695 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.8571, allocations: 444.2 kB / 1.364 GB, free: 5.211 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.8572, allocations: 101 kB / 1.364 GB, free: 5.105 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.8572, allocations: 104.9 kB / 1.364 GB, free: 4.996 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.106e-05/0.8572, allocations: 188.2 kB / 1.365 GB, free: 4.805 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.8573, allocations: 188.1 kB / 1.365 GB, free: 4.613 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.281e-05/0.8573, allocations: 180.3 kB / 1.365 GB, free: 4.43 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-05/0.8574, allocations: 184.2 kB / 1.365 GB, free: 4.242 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.8575, allocations: 319.9 kB / 1.365 GB, free: 3.906 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.8575, allocations: 132.7 kB / 1.366 GB, free: 3.77 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.8576, allocations: 192.2 kB / 1.366 GB, free: 3.574 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.8577, allocations: 104.9 kB / 1.366 GB, free: 3.465 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.8577, allocations: 184.2 kB / 1.366 GB, free: 3.277 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.8578, allocations: 101 kB / 1.366 GB, free: 3.172 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001768/0.8579, allocations: 279.1 kB / 1.366 GB, free: 2.906 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8579, allocations: 8 kB / 1.366 GB, free: 2.898 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002472/0.8582, allocations: 83.88 kB / 1.366 GB, free: 2.816 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000486/0.8587, allocations: 0.9533 MB / 1.367 GB, free: 1.836 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.8588, allocations: 123.9 kB / 1.368 GB, free: 1.715 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8588, allocations: 0 / 1.368 GB, free: 1.715 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.8588, allocations: 3.938 kB / 1.368 GB, free: 1.711 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.8591, allocations: 463.2 kB / 1.368 GB, free: 1.254 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.861, allocations: 2.939 MB / 1.371 GB, free: 14.2 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.213e-05/0.8611, allocations: 172.2 kB / 1.371 GB, free: 14.01 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 9.768e-06/0.8611, allocations: 4 kB / 1.371 GB, free: 14.01 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.8612, allocations: 51.41 kB / 1.371 GB, free: 13.96 MB / 1.057 GB Notification: Performance of SimCode: time 4.51e-07/0.8612, allocations: 0 / 1.371 GB, free: 13.96 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08248/0.9436, allocations: 7.03 MB / 1.378 GB, free: 7.074 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.606, allocations: 9.828 kB / 1.378 GB, free: 7.07 MB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.687176891602576]