Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00177/0.00177, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.002193/0.002193, allocations: 215 kB / 20.13 MB, free: 2.949 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.711/2.711, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.002044/0.002044, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003427/1.013, allocations: 1.418 MB / 1.28 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002882/1.016, allocations: 1.945 MB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/1.016, allocations: 0.5 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/1.018, allocations: 390.2 kB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/1.018, allocations: 23.92 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.681e-06/1.018, allocations: 4.5 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/1.018, allocations: 126 kB / 1.283 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/1.018, allocations: 17.84 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.61e-05/1.018, allocations: 47.08 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/1.018, allocations: 63.62 kB / 1.283 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/1.018, allocations: 2.531 kB / 1.283 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/1.019, allocations: 185.8 kB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/1.019, allocations: 36.92 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/1.019, allocations: 71.64 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/1.02, allocations: 281.6 kB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.02, allocations: 0 / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.02, allocations: 7.875 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.02, allocations: 0 / 1.283 GB, free: 8.863 MB / 0.9981 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.0008954/1.021, allocations: 0.4915 MB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.021, allocations: 10.38 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.305e-05/1.021, allocations: 75.47 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/1.021, allocations: 106.7 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/1.021, allocations: 103.6 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/1.021, allocations: 287.7 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/1.021, allocations: 152.2 kB / 1.285 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/1.021, allocations: 164.9 kB / 1.285 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/1.021, allocations: 103.1 kB / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/1.021, allocations: 75.28 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/1.022, allocations: 150.6 kB / 1.285 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.511e-05/1.022, allocations: 152.7 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/1.022, allocations: 158.5 kB / 1.285 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/1.022, allocations: 0.5084 MB / 1.286 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/1.022, allocations: 171 kB / 1.286 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/1.022, allocations: 84.08 kB / 1.286 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/1.022, allocations: 79.28 kB / 1.286 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/1.022, allocations: 111.8 kB / 1.286 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/1.022, allocations: 0 / 1.286 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0002045/1.023, allocations: 49.91 kB / 1.286 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.023, allocations: 127.4 kB / 1.286 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/1.023, allocations: 319.3 kB / 1.287 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/1.023, allocations: 29.7 kB / 1.287 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/1.023, allocations: 122.5 kB / 1.287 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/1.023, allocations: 0 / 1.287 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/1.023, allocations: 61.75 kB / 1.287 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.023, allocations: 330 kB / 1.287 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/1.024, allocations: 68.23 kB / 1.287 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/1.024, allocations: 118.4 kB / 1.287 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.024, allocations: 210.1 kB / 1.288 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.024, allocations: 1.375 kB / 1.288 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004415/1.024, allocations: 230.8 kB / 1.288 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.024, allocations: 16.16 kB / 1.288 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.024, allocations: 2.281 kB / 1.288 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/1.024, allocations: 2.812 kB / 1.288 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/1.024, allocations: 2.078 kB / 1.288 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.024, allocations: 7.031 kB / 1.288 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/1.025, allocations: 38.41 kB / 1.288 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.025, allocations: 3.766 kB / 1.288 GB, free: 4.738 MB / 0.9981 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.0002815/1.025, allocations: 223 kB / 1.288 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/1.025, allocations: 124.4 kB / 1.288 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/1.025, allocations: 114.6 kB / 1.288 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-05/1.025, allocations: 185.9 kB / 1.289 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.695e-05/1.025, allocations: 178 kB / 1.289 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.564e-05/1.025, allocations: 178 kB / 1.289 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/1.026, allocations: 456.7 kB / 1.289 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/1.026, allocations: 106.8 kB / 1.289 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/1.026, allocations: 109.6 kB / 1.29 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-05/1.026, allocations: 182.4 kB / 1.29 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/1.026, allocations: 178 kB / 1.29 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.012e-05/1.026, allocations: 183 kB / 1.29 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/1.026, allocations: 177.1 kB / 1.29 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/1.026, allocations: 330.4 kB / 1.291 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/1.026, allocations: 194 kB / 1.291 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.027, allocations: 182.7 kB / 1.291 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/1.027, allocations: 102.8 kB / 1.291 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/1.027, allocations: 186.1 kB / 1.291 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/1.027, allocations: 107.6 kB / 1.291 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002566/1.027, allocations: 214.4 kB / 1.291 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.027, allocations: 0 / 1.291 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004305/1.028, allocations: 64.97 kB / 1.292 GB, free: 1.094 MB / 0.9981 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.0007485/1.028, allocations: 0.9289 MB / 1.292 GB, free: 232 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000197/1.029, allocations: 82.52 kB / 1.293 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.029, allocations: 1.219 kB / 1.293 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/1.029, allocations: 1.141 kB / 1.293 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/1.029, allocations: 463 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/1.032, allocations: 2.458 MB / 1.295 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/1.032, allocations: 0.7396 MB / 1.296 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.728e-05/1.032, allocations: 2.312 kB / 1.296 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/1.032, allocations: 36.11 kB / 1.296 GB, free: 13.25 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/1.032, allocations: 1.375 kB / 1.296 GB, free: 13.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/1.056, allocations: 4.916 MB / 1.301 GB, free: 12.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/9.536, allocations: 4 kB / 1.301 GB, free: 12.56 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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: 15.723534408025444]