Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_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.005018/0.005018, allocations: 102.1 kB / 15.73 MB, free: 6.504 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.001507/0.001507, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.815/2.815, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2711, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002477/0.2736, allocations: 1.414 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.277, allocations: 2.67 MB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.277, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.2784, allocations: 0.5904 MB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.2785, allocations: 23.84 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.336e-06/0.2785, allocations: 0 / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2787, allocations: 151 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.2788, allocations: 40.39 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.2789, allocations: 63.7 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.279, allocations: 75.53 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.279, allocations: 4 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2801, allocations: 463.3 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.2802, allocations: 39.77 kB / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2803, allocations: 99.42 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.281, allocations: 442 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.281, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.32e-07/0.281, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.281, allocations: 4 kB / 1.226 GB, free: 8.219 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.0007873/0.2818, allocations: 0.5603 MB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2818, allocations: 12.02 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/0.2819, allocations: 106 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.2821, allocations: 104 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.2823, allocations: 306.4 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.2824, allocations: 158.9 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.2825, allocations: 154.9 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.471e-05/0.2826, allocations: 105.5 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.2826, allocations: 79.22 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.2827, allocations: 150.6 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/0.2828, allocations: 154.6 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.2828, allocations: 150.6 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.2833, allocations: 0.5367 MB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.2834, allocations: 169.1 kB / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.2834, allocations: 80.14 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.2835, allocations: 87.22 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.2835, allocations: 109.8 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2835, allocations: 0 / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001824/0.2837, allocations: 61.44 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.2838, allocations: 126.7 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.2843, allocations: 437.3 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2843, allocations: 29.7 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.2844, allocations: 132.5 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.2844, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2845, allocations: 97.66 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2847, allocations: 338.8 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2848, allocations: 96.5 kB / 1.23 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.285, allocations: 165.3 kB / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.2854, allocations: 301.6 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2854, allocations: 3.938 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005289/0.2859, allocations: 321.2 kB / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2859, allocations: 7.938 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2859, allocations: 4 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.286, allocations: 4.219 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.286, allocations: 4 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.286, allocations: 7.938 kB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2861, allocations: 51.45 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2862, allocations: 7.984 kB / 1.231 GB, free: 2.805 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.0002074/0.2864, allocations: 239.6 kB / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.2865, allocations: 128.7 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.2865, allocations: 118.9 kB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-05/0.2866, allocations: 184.3 kB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.247e-05/0.2867, allocations: 184.2 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.022e-05/0.2868, allocations: 180.3 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.2871, allocations: 469.2 kB / 1.232 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-05/0.2872, allocations: 113.1 kB / 1.233 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.2873, allocations: 105 kB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-05/0.2873, allocations: 188.1 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.2874, allocations: 184.2 kB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.89e-05/0.2875, allocations: 176.3 kB / 1.233 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.053e-05/0.2876, allocations: 180.2 kB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2878, allocations: 335.6 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.2879, allocations: 201.9 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.288, allocations: 180.2 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2882, allocations: 108.9 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.2883, allocations: 184.3 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.2883, allocations: 108.9 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003037/0.2886, allocations: 279.1 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2886, allocations: 3.938 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003672/0.289, allocations: 83.88 kB / 1.235 GB, free: 14.73 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.0006936/0.2897, allocations: 0.9607 MB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.29, allocations: 167.8 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.29, allocations: 3.938 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.29, allocations: 0 / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.2904, allocations: 465.5 kB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.2935, allocations: 2.944 MB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.2939, allocations: 0.7743 MB / 1.24 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.151e-05/0.294, allocations: 3.984 kB / 1.24 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.294, allocations: 51.42 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of SimCode: time 2.235e-06/0.294, allocations: 0 / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.3213, allocations: 6.456 MB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.287, allocations: 0 / 1.246 GB, free: 2.891 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches