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.00104/0.00104, 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.001145/0.001145, allocations: 173.6 kB / 23.23 MB, free: 1.328 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.9838/0.9838, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.812/1.812, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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_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 1.953e-06/1.953e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.08e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002172/0.002193, allocations: 1.411 MB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.003893, allocations: 1.757 MB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.003931, allocations: 0 / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.004871, allocations: 360.7 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.004913, allocations: 15.91 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.004917, allocations: 4 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.005114, allocations: 139 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.005162, allocations: 5.688 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.005233, allocations: 59.86 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.005335, allocations: 55.83 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.005353, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.005667, allocations: 175.8 kB / 1.005 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.005719, allocations: 27.84 kB / 1.005 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.005789, allocations: 51.91 kB / 1.005 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.006126, allocations: 306.8 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006129, allocations: 0 / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.693e-06/0.006131, allocations: 0 / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.006135, allocations: 0 / 1.005 GB, free: 9.172 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.0005416/0.006677, allocations: 417.2 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.006717, allocations: 13.34 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.006763, allocations: 106 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.006879, allocations: 100.1 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.007049, allocations: 228.4 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.007089, allocations: 154.9 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.007131, allocations: 158.9 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.809e-05/0.007189, allocations: 109.5 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.007213, allocations: 75.47 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.007254, allocations: 158.5 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.00729, allocations: 150.6 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.007328, allocations: 150.6 kB / 1.007 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.0076, allocations: 488.8 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.00767, allocations: 173.1 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.007697, allocations: 80.14 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.007717, allocations: 79.28 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.007752, allocations: 113.8 kB / 1.008 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.007753, allocations: 0 / 1.008 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 0.0001192/0.007873, allocations: 53.48 kB / 1.008 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.007915, allocations: 126.7 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.008166, allocations: 325.6 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.008178, allocations: 25.7 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.008238, allocations: 120.5 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.008241, allocations: 0 / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.008299, allocations: 65.61 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.008395, allocations: 330.8 kB / 1.009 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.00846, allocations: 63.95 kB / 1.009 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-05/0.008547, allocations: 118 kB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.008711, allocations: 213.8 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.008713, allocations: 4 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002862/0.008999, allocations: 233.4 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.009013, allocations: 4 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.009022, allocations: 7.938 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.009033, allocations: 0 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.009036, allocations: 4 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.009042, allocations: 0 / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.009119, allocations: 31.95 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.009128, allocations: 4 kB / 1.009 GB, free: 4.539 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.000186/0.009314, allocations: 233 kB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.009367, allocations: 116.8 kB / 1.01 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.009414, allocations: 129.4 kB / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.009457, allocations: 180.3 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/0.0095, allocations: 180.3 kB / 1.01 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/0.009543, allocations: 180.2 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.009725, allocations: 416.3 kB / 1.011 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.009752, allocations: 116.9 kB / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.009777, allocations: 101 kB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/0.00982, allocations: 176.3 kB / 1.011 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.009874, allocations: 196.1 kB / 1.011 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.07e-05/0.009915, allocations: 176.3 kB / 1.011 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-05/0.00996, allocations: 184.4 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.01007, allocations: 319.7 kB / 1.012 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.01013, allocations: 128.8 kB / 1.012 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.01019, allocations: 180.2 kB / 1.012 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.01027, allocations: 108.9 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.01032, allocations: 180.3 kB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.01034, allocations: 109 kB / 1.012 GB, free: 1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001463/0.01049, allocations: 221.1 kB / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 0 / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002595/0.01075, allocations: 59.94 kB / 1.013 GB, free: 0.7266 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 (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.0005211/0.01127, allocations: 0.9316 MB / 1.014 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.01141, allocations: 83.83 kB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01141, allocations: 0 / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.01141, allocations: 0 / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01169, allocations: 464.1 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.01355, allocations: 2.448 MB / 1.017 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.01365, allocations: 135.3 kB / 1.017 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.261e-05/0.01366, allocations: 0 / 1.017 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.01371, allocations: 40.48 kB / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/0.01371, allocations: 0 / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08249/0.0962, allocations: 5.567 MB / 1.022 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.99, allocations: 4.062 kB / 1.022 GB, free: 7.043 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.62646855134517]