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.001658/0.001658, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002034/0.002034, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.789 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.819/2.819, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",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.00211/0.00211, allocations: 65.89 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2797, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002653/0.2824, allocations: 1.416 MB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.285, allocations: 1.758 MB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.285, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2861, allocations: 359.3 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.2861, allocations: 19.84 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.699e-06/0.2861, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.2864, allocations: 119.2 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.2864, allocations: 13.2 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.2865, allocations: 47.78 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2866, allocations: 63.7 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2867, allocations: 11.94 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.2871, allocations: 175.9 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.2871, allocations: 23.91 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.2872, allocations: 63.67 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.2877, allocations: 296.4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2877, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2877, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2877, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 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.0007577/0.2884, allocations: 421.2 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2885, allocations: 8.031 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.2885, allocations: 110 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.2887, allocations: 96.08 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.289, allocations: 233.1 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.2891, allocations: 154.9 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.2891, allocations: 158.9 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.193e-05/0.2892, allocations: 108.9 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.2892, allocations: 75.28 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.2893, allocations: 154.6 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.894e-05/0.2894, allocations: 150.6 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.2895, allocations: 154.6 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.2899, allocations: 484.8 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.29, allocations: 181.1 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.29, allocations: 80.14 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.2901, allocations: 79.22 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.2901, allocations: 109.8 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2901, allocations: 0 / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001734/0.2903, allocations: 49.59 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.2904, allocations: 126.7 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.2908, allocations: 333.5 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2908, allocations: 29.7 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.2909, allocations: 116.5 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.2909, allocations: 0 / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.2909, allocations: 61.69 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2911, allocations: 330.8 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.2912, allocations: 63.95 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2914, allocations: 121.9 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2916, allocations: 213.8 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2916, allocations: 0 / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000462/0.2921, allocations: 229.3 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2921, allocations: 8.203 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2921, allocations: 8 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2921, allocations: 3.938 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.2921, allocations: 4 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2921, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2923, allocations: 31.72 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2923, allocations: 12 kB / 1.291 GB, free: 3.438 MB / 0.9825 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.0002523/0.2925, allocations: 230.3 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.2926, allocations: 120.8 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.2927, allocations: 117.7 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-05/0.2928, allocations: 184.3 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.34e-05/0.2929, allocations: 180.2 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.748e-05/0.293, allocations: 184.2 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2933, allocations: 420.3 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/0.2933, allocations: 112.8 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.2934, allocations: 101 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.2934, allocations: 180.3 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.2935, allocations: 180.2 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.458e-05/0.2936, allocations: 176.3 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.603e-05/0.2937, allocations: 188.2 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.2939, allocations: 327.6 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.294, allocations: 120.8 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2941, allocations: 184.2 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2942, allocations: 104.9 kB / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.2943, allocations: 180.3 kB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.2944, allocations: 104.9 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002307/0.2946, allocations: 217.2 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.2946, allocations: 0 / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003666/0.295, allocations: 67.88 kB / 1.295 GB, free: 15.64 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.0007046/0.2957, allocations: 0.9182 MB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.2959, allocations: 83.89 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2959, allocations: 0 / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.2959, allocations: 3.938 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.2963, allocations: 468.5 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.2991, allocations: 2.433 MB / 1.298 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2992, allocations: 130.8 kB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.2992, allocations: 4 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.2993, allocations: 31.42 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.2993, allocations: 0 / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.3327, allocations: 5.428 MB / 1.304 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.86, allocations: 9.875 kB / 1.304 GB, free: 6.125 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.32557183271274]