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.001252/0.001256, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00122/0.00122, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.208/2.208, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.89 kB / 0.8688 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.483, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002094/0.4852, allocations: 1.475 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.4876, allocations: 2.639 MB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.4877, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.489, allocations: 0.5541 MB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.489, allocations: 15.91 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.489, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.4892, allocations: 162.9 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.4893, allocations: 36.39 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.4893, allocations: 51.75 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.4895, allocations: 83.58 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.4895, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008128/0.4903, allocations: 0.4915 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.4903, allocations: 43.75 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.4904, allocations: 91.44 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.4909, allocations: 398.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4909, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4909, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4909, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 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.0005874/0.4915, allocations: 0.5489 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.4916, allocations: 12.03 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.4916, allocations: 106 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.4917, allocations: 103.9 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.4919, allocations: 302.3 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.492, allocations: 154.9 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.492, allocations: 154.9 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.935e-05/0.4921, allocations: 105.5 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.4921, allocations: 83.16 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.4922, allocations: 150.6 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.4922, allocations: 154.6 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.824e-05/0.4922, allocations: 150.6 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.4925, allocations: 0.5328 MB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.4926, allocations: 165.1 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.4926, allocations: 92.06 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4926, allocations: 75.28 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4927, allocations: 105.8 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4927, allocations: 0 / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001504/0.4928, allocations: 61.25 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4929, allocations: 130.7 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.4932, allocations: 445.1 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4932, allocations: 25.7 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.4933, allocations: 140.4 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.4933, allocations: 16 / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.4934, allocations: 89.66 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.4935, allocations: 338.8 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4936, allocations: 100.5 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.4937, allocations: 165.3 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.494, allocations: 305.6 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.494, allocations: 0 / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000423/0.4944, allocations: 329 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4944, allocations: 7.938 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4944, allocations: 224 / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4945, allocations: 8 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.4945, allocations: 0 / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4945, allocations: 7.938 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4946, allocations: 43.36 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4946, allocations: 4 kB / 1.028 GB, free: 7.223 MB / 0.7794 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.0001527/0.4948, allocations: 241.1 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.4948, allocations: 132.6 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.4949, allocations: 122.9 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/0.4949, allocations: 184.2 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.464e-05/0.495, allocations: 180.2 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.495, allocations: 176.3 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4953, allocations: 477.2 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/0.4953, allocations: 112.9 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.4953, allocations: 101 kB / 1.029 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.434e-05/0.4954, allocations: 188.1 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.4954, allocations: 176.3 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.38e-05/0.4955, allocations: 184.3 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.403e-05/0.4955, allocations: 184.2 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.4956, allocations: 327.5 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.4957, allocations: 201.7 kB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.4958, allocations: 180.2 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.496, allocations: 112.9 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.4961, allocations: 180.3 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.4962, allocations: 104.9 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003737/0.4965, allocations: 283.1 kB / 1.031 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4965, allocations: 3.938 kB / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005423/0.4971, allocations: 76 kB / 1.032 GB, free: 3.152 MB / 0.7794 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.0006749/0.4978, allocations: 0.942 MB / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.4981, allocations: 168.1 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4981, allocations: 0 / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.4981, allocations: 4 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.4986, allocations: 472 kB / 1.033 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5011, allocations: 2.936 MB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.5013, allocations: 0.7781 MB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.5013, allocations: 4 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.5014, allocations: 59.41 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.5014, allocations: 0 / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.522/3.024, allocations: 6.125 MB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/3.024, allocations: 225.3 kB / 1.043 GB, free: 7.434 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/5.075, allocations: 3.125 kB / 1.043 GB, free: 7.434 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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