Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001188/0.001188, 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.001414/0.001414, allocations: 215.3 kB / 23.02 MB, free: 2.973 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.946/0.946, allocations: 230.6 MB / 256.8 MB, free: 9.594 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 2.035/2.035, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 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_low,fileNamePrefix="Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 79.83 kB / 1.177 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8051, allocations: 180 MB / 1.352 GB, free: 1.719 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002002/0.8071, allocations: 1.428 MB / 1.354 GB, free: 284 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.8087, allocations: 1.755 MB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.8088, allocations: 3.938 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.8096, allocations: 351.4 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.8097, allocations: 19.91 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.8097, allocations: 0 / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.8099, allocations: 131.1 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.8099, allocations: 5.688 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.81, allocations: 43.8 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.8101, allocations: 59.77 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.8101, allocations: 0 / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.8104, allocations: 187.8 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.8104, allocations: 31.89 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.8105, allocations: 55.67 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.8108, allocations: 301 kB / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8108, allocations: 0 / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8109, allocations: 0 / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.8109, allocations: 0 / 1.357 GB, free: 13.35 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.0005137/0.8114, allocations: 417.2 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.8114, allocations: 16.86 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.8115, allocations: 110 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.8116, allocations: 100.1 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.8117, allocations: 237.1 kB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.8118, allocations: 150.9 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.8118, allocations: 154.9 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.974e-05/0.8118, allocations: 104.9 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.8119, allocations: 75.28 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.8119, allocations: 154.6 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.8119, allocations: 150.6 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.812, allocations: 162.5 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.8122, allocations: 480.9 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.8123, allocations: 169.1 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.8123, allocations: 88.19 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.8123, allocations: 79.22 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.8124, allocations: 109.8 kB / 1.359 GB, free: 10.51 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.8124, allocations: 0 / 1.359 GB, free: 10.51 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.8125, allocations: 53.55 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.8125, allocations: 130.7 kB / 1.359 GB, free: 10.31 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.8128, allocations: 317.7 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.8128, allocations: 29.7 kB / 1.36 GB, free: 9.961 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.8128, allocations: 120.5 kB / 1.36 GB, free: 9.84 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.8128, allocations: 0 / 1.36 GB, free: 9.84 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.8129, allocations: 61.69 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.813, allocations: 334.8 kB / 1.36 GB, free: 9.438 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.813, allocations: 63.73 kB / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.8131, allocations: 125.7 kB / 1.36 GB, free: 9.23 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.8133, allocations: 201.9 kB / 1.361 GB, free: 9.012 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8133, allocations: 4 kB / 1.361 GB, free: 9.008 MB / 1.042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002965/0.8136, allocations: 245.2 kB / 1.361 GB, free: 8.762 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.8136, allocations: 4 kB / 1.361 GB, free: 8.758 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8136, allocations: 8.219 kB / 1.361 GB, free: 8.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8136, allocations: 0 / 1.361 GB, free: 8.75 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.8136, allocations: 4 kB / 1.361 GB, free: 8.746 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8136, allocations: 0 / 1.361 GB, free: 8.746 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.8137, allocations: 31.67 kB / 1.361 GB, free: 8.715 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.8137, allocations: 4 kB / 1.361 GB, free: 8.711 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.000266/0.814, allocations: 225 kB / 1.361 GB, free: 8.48 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.814, allocations: 124.8 kB / 1.361 GB, free: 8.352 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.8141, allocations: 113.8 kB / 1.361 GB, free: 8.227 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/0.8141, allocations: 188.2 kB / 1.362 GB, free: 8.035 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/0.8142, allocations: 180.3 kB / 1.362 GB, free: 7.852 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/0.8142, allocations: 180.2 kB / 1.362 GB, free: 7.668 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.8144, allocations: 420.2 kB / 1.362 GB, free: 7.207 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.8144, allocations: 112.9 kB / 1.362 GB, free: 7.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.8144, allocations: 108.9 kB / 1.363 GB, free: 6.977 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/0.8145, allocations: 176.3 kB / 1.363 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.8145, allocations: 188.2 kB / 1.363 GB, free: 6.605 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/0.8145, allocations: 180.2 kB / 1.363 GB, free: 6.422 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.67e-05/0.8146, allocations: 176.3 kB / 1.363 GB, free: 6.242 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.8147, allocations: 327.7 kB / 1.364 GB, free: 5.898 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.8147, allocations: 128.7 kB / 1.364 GB, free: 5.766 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.8148, allocations: 184.2 kB / 1.364 GB, free: 5.578 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.8149, allocations: 101 kB / 1.364 GB, free: 5.473 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.8149, allocations: 184.2 kB / 1.364 GB, free: 5.285 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.8149, allocations: 101 kB / 1.364 GB, free: 5.18 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001385/0.8151, allocations: 217.2 kB / 1.364 GB, free: 4.969 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8151, allocations: 0 / 1.364 GB, free: 4.969 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002575/0.8153, allocations: 59.94 kB / 1.364 GB, free: 4.91 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.0004876/0.8158, allocations: 0.9259 MB / 1.365 GB, free: 3.957 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.816, allocations: 79.89 kB / 1.365 GB, free: 3.879 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.816, allocations: 0 / 1.365 GB, free: 3.879 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.816, allocations: 0 / 1.365 GB, free: 3.879 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.8162, allocations: 470.7 kB / 1.366 GB, free: 3.418 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.8181, allocations: 2.449 MB / 1.368 GB, free: 0.8438 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.181e-05/0.8182, allocations: 130.8 kB / 1.368 GB, free: 0.6953 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.377e-05/0.8182, allocations: 4 kB / 1.368 GB, free: 0.6914 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.8182, allocations: 35.42 kB / 1.368 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of SimCode: time 1.242e-06/0.8182, allocations: 0 / 1.368 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07899/0.8972, allocations: 5.407 MB / 1.374 GB, free: 11.4 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/8.131, allocations: 6.234 kB / 1.374 GB, free: 11.4 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_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_low.fmu) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.135069763287902]