Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.007658/0.007658, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.00187/0.00187, allocations: 198.3 kB / 16.68 MB, free: 5.969 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002419/0.2848, allocations: 1.428 MB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.2882, allocations: 2.659 MB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.2882, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2897, allocations: 0.5827 MB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.2898, allocations: 27.89 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.2898, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.2901, allocations: 155 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/0.2901, allocations: 32.34 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.2902, allocations: 67.66 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2903, allocations: 75.58 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2904, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.2914, allocations: 463.3 kB / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.2914, allocations: 43.81 kB / 1.172 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2916, allocations: 95.38 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.2922, allocations: 438 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2922, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2923, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2923, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 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.0008006/0.2931, allocations: 0.5603 MB / 1.173 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2931, allocations: 8.031 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.466e-05/0.2932, allocations: 106 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2934, allocations: 112 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.2936, allocations: 302.4 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.2937, allocations: 159 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.2938, allocations: 158.9 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/0.2939, allocations: 105.5 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.2939, allocations: 79.22 kB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.294, allocations: 150.6 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.2941, allocations: 154.5 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.2941, allocations: 158.5 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.2946, allocations: 0.5406 MB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.2947, allocations: 169.1 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.2947, allocations: 84.14 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.2948, allocations: 79.28 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.2948, allocations: 109.8 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2948, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001815/0.295, allocations: 57.45 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.2951, allocations: 130.6 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.2956, allocations: 437.3 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2956, allocations: 25.7 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.2957, allocations: 132.6 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.2957, allocations: 0 / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.2958, allocations: 93.67 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.296, allocations: 338.8 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2961, allocations: 96.5 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2963, allocations: 169.3 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.2966, allocations: 309.6 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2966, allocations: 0 / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005217/0.2972, allocations: 321.2 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.2972, allocations: 11.94 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2972, allocations: 0 / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2972, allocations: 7.938 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.616e-06/0.2973, allocations: 3.938 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2973, allocations: 4 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2974, allocations: 51.73 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2974, allocations: 4 kB / 1.177 GB, free: 11.83 MB / 0.9356 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.0002554/0.2977, allocations: 241.1 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2978, allocations: 136.6 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.2979, allocations: 111 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/0.2979, allocations: 176.3 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.829e-05/0.298, allocations: 192.2 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.602e-05/0.2981, allocations: 180.2 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.2984, allocations: 473.1 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.2985, allocations: 105 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.2985, allocations: 101 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.282e-05/0.2986, allocations: 196.2 kB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.2987, allocations: 180.3 kB / 1.179 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.55e-05/0.2988, allocations: 180.4 kB / 1.179 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.489e-05/0.2989, allocations: 180.2 kB / 1.179 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2991, allocations: 335.6 kB / 1.18 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2992, allocations: 201.9 kB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.2993, allocations: 184.1 kB / 1.18 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2994, allocations: 101 kB / 1.18 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.2995, allocations: 184.3 kB / 1.18 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.2996, allocations: 108.9 kB / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002762/0.2998, allocations: 275.1 kB / 1.181 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2999, allocations: 0 / 1.181 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003693/0.3002, allocations: 83.92 kB / 1.181 GB, free: 7.77 MB / 0.9356 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.0007164/0.3009, allocations: 0.9566 MB / 1.182 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3012, allocations: 172.2 kB / 1.182 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3012, allocations: 0 / 1.182 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.3012, allocations: 4 kB / 1.182 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3017, allocations: 461.1 kB / 1.182 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.3047, allocations: 2.952 MB / 1.185 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3051, allocations: 0.7782 MB / 1.186 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.278e-05/0.3051, allocations: 0 / 1.186 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.3052, allocations: 55.59 kB / 1.186 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3052, allocations: 3.938 kB / 1.186 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.3349, allocations: 6.452 MB / 1.192 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/8.656, allocations: 11.39 kB / 1.192 GB, free: 11.91 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches