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.0007985/0.0007985, allocations: 80.45 kB / 19.96 MB, free: 4.594 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.001378/0.001378, allocations: 169.2 kB / 23.24 MB, free: 1.312 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.9936/0.9936, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.839/1.839, allocations: 389.5 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.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 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.455e-05, allocations: 2.281 kB / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001865/0.00189, allocations: 1.415 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.004274, allocations: 2.394 MB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.004307, allocations: 0 / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.005367, allocations: 0.5514 MB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.005407, allocations: 23.84 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.005411, allocations: 4 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.005616, allocations: 170.8 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.005667, allocations: 16.58 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.005745, allocations: 75.8 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.00585, allocations: 67.77 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.005863, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005683/0.006431, allocations: 411.4 kB / 1.006 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.006482, allocations: 39.78 kB / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.00655, allocations: 55.86 kB / 1.006 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.006972, allocations: 450.1 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.006975, allocations: 0 / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006976, allocations: 0 / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.006981, allocations: 0 / 1.006 GB, free: 7.918 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005478/0.007529, allocations: 0.4928 MB / 1.007 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.007569, allocations: 9.344 kB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.007613, allocations: 106 kB / 1.007 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.007722, allocations: 104.1 kB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.007889, allocations: 239.8 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.007934, allocations: 158.9 kB / 1.007 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.007978, allocations: 150.9 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.4e-05/0.008032, allocations: 105.5 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.008054, allocations: 83.41 kB / 1.008 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.008093, allocations: 150.9 kB / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.00813, allocations: 154.7 kB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.008171, allocations: 162.5 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.008446, allocations: 0.4968 MB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.008516, allocations: 169.1 kB / 1.009 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.008541, allocations: 88.08 kB / 1.009 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.008564, allocations: 75.28 kB / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.008596, allocations: 109.8 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.008597, allocations: 0 / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 0.0001214/0.008718, allocations: 53.52 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.008762, allocations: 134.6 kB / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.009067, allocations: 445.2 kB / 1.009 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.009078, allocations: 25.7 kB / 1.01 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.009141, allocations: 136.6 kB / 1.01 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.009144, allocations: 0 / 1.01 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.00921, allocations: 89.61 kB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.0093, allocations: 338.8 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.009383, allocations: 96.59 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.009493, allocations: 169.9 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.009898, allocations: 305.6 kB / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0099, allocations: 0 / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003654/0.01027, allocations: 337 kB / 1.011 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01028, allocations: 8 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01029, allocations: 0 / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.0103, allocations: 4 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.0103, allocations: 3.938 kB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.01031, allocations: 8.016 kB / 1.011 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.0104, allocations: 43.52 kB / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.01041, allocations: 11.98 kB / 1.011 GB, free: 2.688 MB / 0.9636 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.0001935/0.0106, allocations: 244.7 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.01065, allocations: 128.8 kB / 1.011 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.01069, allocations: 114.8 kB / 1.011 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/0.01074, allocations: 176.3 kB / 1.012 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-05/0.01078, allocations: 192.2 kB / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/0.01082, allocations: 180.3 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01101, allocations: 444.2 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.01103, allocations: 112.9 kB / 1.013 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.01105, allocations: 101 kB / 1.013 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.064e-05/0.01109, allocations: 188.2 kB / 1.013 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.01114, allocations: 176.3 kB / 1.013 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.793e-05/0.01117, allocations: 180.3 kB / 1.013 GB, free: 380 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-05/0.01121, allocations: 188.1 kB / 1.013 GB, free: 184 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.01132, allocations: 331.8 kB / 1.014 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.01137, allocations: 124.8 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.01143, allocations: 176.3 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.0115, allocations: 108.9 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.01155, allocations: 188 kB / 1.014 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.01157, allocations: 108.9 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001851/0.01176, allocations: 275.1 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01176, allocations: 0 / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002988/0.01206, allocations: 87.88 kB / 1.015 GB, free: 14.75 MB / 0.9792 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.0006171/0.01267, allocations: 0.9602 MB / 1.016 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01285, allocations: 123.8 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01286, allocations: 0 / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.01286, allocations: 0 / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01318, allocations: 473.1 kB / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.01588, allocations: 2.953 MB / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.01599, allocations: 164.6 kB / 1.019 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.01601, allocations: 7.984 kB / 1.019 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.01608, allocations: 48.48 kB / 1.019 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of SimCode: time 1.333e-06/0.01608, allocations: 3.938 kB / 1.019 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08273/0.09882, allocations: 7.2 MB / 1.026 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.138, allocations: 5.484 kB / 1.026 GB, free: 2.824 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.816333003342152]