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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005033/0.005034, allocations: 98.38 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 201.4 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.7426 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2711, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002623/0.2737, allocations: 1.401 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.2763, allocations: 1.919 MB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.2763, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.2774, allocations: 393.9 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.2775, allocations: 19.84 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.2775, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.2777, allocations: 119.2 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.2778, allocations: 29.47 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.115e-05/0.2778, allocations: 47.72 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.278, allocations: 55.78 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.278, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.2785, allocations: 183.9 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.2786, allocations: 39.77 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.2787, allocations: 71.56 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.2792, allocations: 282.8 kB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2792, allocations: 0 / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2792, allocations: 3.938 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2792, allocations: 7.938 kB / 1.225 GB, free: 9.695 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.0007236/0.2799, allocations: 494.3 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.28, allocations: 16.03 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.2801, allocations: 110 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.2802, allocations: 92.12 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.2805, allocations: 303.3 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.2806, allocations: 154.9 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.2807, allocations: 154.9 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.01e-05/0.2807, allocations: 108.9 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.2808, allocations: 75.28 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.2809, allocations: 150.6 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/0.2809, allocations: 150.6 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.281, allocations: 150.6 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.2814, allocations: 0.5095 MB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.2815, allocations: 173.1 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.2816, allocations: 80.14 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.2816, allocations: 79.22 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.2817, allocations: 105.8 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.2817, allocations: 4 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001818/0.2819, allocations: 57.48 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.2819, allocations: 126.7 kB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.2823, allocations: 322.4 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2823, allocations: 25.7 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.2824, allocations: 112.5 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2824, allocations: 0 / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.2825, allocations: 61.69 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2827, allocations: 338.9 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.2828, allocations: 67.95 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2829, allocations: 121.9 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.2832, allocations: 213.8 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2832, allocations: 0 / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004449/0.2836, allocations: 237.3 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2837, allocations: 4 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2837, allocations: 7.938 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2837, allocations: 0 / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-06/0.2837, allocations: 7.938 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2837, allocations: 3.938 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2838, allocations: 31.67 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2839, allocations: 8.219 kB / 1.229 GB, free: 4.844 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.0002062/0.2841, allocations: 227.6 kB / 1.229 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.2842, allocations: 128.7 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.2842, allocations: 113.8 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.917e-05/0.2843, allocations: 176.3 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.545e-05/0.2844, allocations: 188.2 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-05/0.2845, allocations: 180.3 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.2848, allocations: 457.1 kB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/0.2849, allocations: 104.9 kB / 1.231 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.2849, allocations: 101 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.306e-05/0.285, allocations: 180.2 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.2851, allocations: 184.2 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.96e-05/0.2852, allocations: 184.2 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.959e-05/0.2853, allocations: 176.3 kB / 1.231 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.2855, allocations: 315.7 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.2856, allocations: 214.1 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.2857, allocations: 180.2 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2858, allocations: 113 kB / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.2859, allocations: 180.2 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.286, allocations: 105 kB / 1.232 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002165/0.2862, allocations: 209.9 kB / 1.233 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2862, allocations: 0 / 1.233 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003429/0.2866, allocations: 71.92 kB / 1.233 GB, free: 0.918 MB / 0.9825 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.0006571/0.2872, allocations: 0.9178 MB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.2874, allocations: 99.89 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2874, allocations: 0 / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.2875, allocations: 4 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.2879, allocations: 461.2 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.2905, allocations: 2.441 MB / 1.236 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.2909, allocations: 0.7469 MB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.2909, allocations: 0 / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.291, allocations: 43.3 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.291, allocations: 0 / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.3166, allocations: 4.852 MB / 1.242 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.005, allocations: 5.953 kB / 1.242 GB, free: 7.324 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv","/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) Reference file matches