Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001875/0.001875, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002343/0.002343, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 70.55 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.365, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00321/0.3682, allocations: 1.446 MB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003954/0.3721, allocations: 2.705 MB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.3722, allocations: 4 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.3741, allocations: 0.5909 MB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.3741, allocations: 15.91 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.19e-06/0.3741, allocations: 0 / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.3744, allocations: 162.9 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.3745, allocations: 16.52 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.3746, allocations: 67.72 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3747, allocations: 87.52 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.3748, allocations: 4 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.3759, allocations: 467.3 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.376, allocations: 39.81 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3761, allocations: 91.38 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.3768, allocations: 446 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3768, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3768, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3768, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 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.0008271/0.3776, allocations: 488.8 kB / 1.352 GB, free: 9.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3777, allocations: 12.03 kB / 1.352 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.556e-05/0.3777, allocations: 79.41 kB / 1.352 GB, free: 9.742 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/0.3778, allocations: 106 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.378, allocations: 104 kB / 1.352 GB, free: 9.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.3782, allocations: 252.5 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.3783, allocations: 150.9 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.3784, allocations: 158.9 kB / 1.353 GB, free: 8.949 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.132e-05/0.3784, allocations: 105.3 kB / 1.353 GB, free: 8.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.3785, allocations: 79.22 kB / 1.353 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.3785, allocations: 150.6 kB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/0.3786, allocations: 154.6 kB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.3787, allocations: 162.5 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3791, allocations: 0.5046 MB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3792, allocations: 173.1 kB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.3793, allocations: 92.17 kB / 1.354 GB, free: 7.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.3793, allocations: 79.28 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/0.3794, allocations: 113.7 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3794, allocations: 0 / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001836/0.3796, allocations: 49.56 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.3796, allocations: 126.7 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.3801, allocations: 433.3 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3801, allocations: 25.7 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3803, allocations: 140.6 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.3803, allocations: 0 / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.3804, allocations: 93.66 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3805, allocations: 338.8 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3806, allocations: 104.5 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3808, allocations: 165.8 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.3812, allocations: 305.6 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3812, allocations: 0 / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006415/0.3818, allocations: 329 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3818, allocations: 11.94 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3818, allocations: 0 / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3819, allocations: 4 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-06/0.3819, allocations: 3.984 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3819, allocations: 8.219 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.382, allocations: 43.52 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.382, allocations: 4 kB / 1.356 GB, free: 5.043 MB / 1.045 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.000271/0.3823, allocations: 247.8 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.3824, allocations: 124.7 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.3825, allocations: 118.7 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-05/0.3826, allocations: 192.2 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.437e-05/0.3827, allocations: 180.3 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-05/0.3827, allocations: 180.2 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.3831, allocations: 444.2 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.3831, allocations: 104.9 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.3832, allocations: 109 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-05/0.3833, allocations: 184.4 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.469e-05/0.3833, allocations: 180.2 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.772e-05/0.3834, allocations: 184.2 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.693e-05/0.3835, allocations: 188.2 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.3837, allocations: 327.6 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.3838, allocations: 128.7 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3839, allocations: 184.2 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.384, allocations: 108.9 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.3841, allocations: 176.3 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.3842, allocations: 109 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003046/0.3845, allocations: 279.1 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3845, allocations: 0 / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004259/0.3849, allocations: 87.92 kB / 1.36 GB, free: 1.09 MB / 1.045 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.0008244/0.3857, allocations: 0.9552 MB / 1.361 GB, free: 112 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.386, allocations: 124 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.386, allocations: 0 / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.386, allocations: 7.938 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.3864, allocations: 457.1 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.3896, allocations: 2.937 MB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3901, allocations: 0.7859 MB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.704e-05/0.3901, allocations: 4.25 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.3902, allocations: 47.42 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.3902, allocations: 0 / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4191, allocations: 6.581 MB / 1.371 GB, free: 5.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 9.078 kB / 1.371 GB, free: 5.18 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.418216446996666]