Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_low,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_10_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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 195 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.571/2.571, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002395, allocations: 67.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5905, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0027/0.5932, allocations: 1.406 MB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.5956, allocations: 1.931 MB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.5956, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.5967, allocations: 385.9 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.5968, allocations: 15.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.5968, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.597, allocations: 135.1 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.5971, allocations: 29.48 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.5972, allocations: 35.88 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.5973, allocations: 59.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.5973, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.5978, allocations: 179.9 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.5979, allocations: 27.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.598, allocations: 83.59 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.5985, allocations: 285.1 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5985, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5985, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5985, allocations: 0 / 1.022 GB, free: 13.92 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.0006766/0.5992, allocations: 486.6 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5992, allocations: 12.03 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.5993, allocations: 110 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.5994, allocations: 103.9 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.5997, allocations: 291.4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.5997, allocations: 158.9 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.5998, allocations: 154.9 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.156e-05/0.5999, allocations: 108.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.5999, allocations: 79.27 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.6, allocations: 150.6 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/0.6, allocations: 154.6 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.6001, allocations: 154.5 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.6005, allocations: 0.4978 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.616e-05/0.6006, allocations: 173.1 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.6006, allocations: 84.14 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.6006, allocations: 79.22 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.6007, allocations: 113.8 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.6007, allocations: 0 / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001755/0.6009, allocations: 45.42 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.6009, allocations: 130.7 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.6012, allocations: 322.4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.6013, allocations: 25.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.6014, allocations: 120.3 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.6014, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.6014, allocations: 61.69 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6016, allocations: 326.8 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.6017, allocations: 63.95 kB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.6018, allocations: 125.7 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.6021, allocations: 213.8 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6021, allocations: 0 / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000424/0.6025, allocations: 233.2 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6025, allocations: 8 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6025, allocations: 4.219 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6026, allocations: 4 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.6026, allocations: 0 / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6026, allocations: 4 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.6027, allocations: 31.53 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.6027, allocations: 7.984 kB / 1.026 GB, free: 9.086 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.0001989/0.6029, allocations: 223.6 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.603, allocations: 132.6 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.6031, allocations: 109.9 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-05/0.6031, allocations: 184.2 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.179e-05/0.6032, allocations: 176.3 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.369e-05/0.6033, allocations: 184.2 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.6036, allocations: 449.1 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/0.6037, allocations: 112.9 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.6037, allocations: 112.9 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.6038, allocations: 184.3 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.6039, allocations: 176.3 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/0.6039, allocations: 184.1 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.713e-05/0.604, allocations: 184.3 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.6042, allocations: 323.5 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.6043, allocations: 197.8 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6044, allocations: 188.2 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.6046, allocations: 101 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.6046, allocations: 184.2 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.6047, allocations: 101 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002171/0.6049, allocations: 217.9 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6049, allocations: 0 / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003668/0.6053, allocations: 64 kB / 1.03 GB, free: 5.168 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.0005842/0.6059, allocations: 0.9259 MB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.6061, allocations: 104.2 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6061, allocations: 0 / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.6061, allocations: 0 / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.6065, allocations: 464.8 kB / 1.031 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.6088, allocations: 2.433 MB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.6091, allocations: 0.7392 MB / 1.034 GB, free: 336 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.244e-05/0.6092, allocations: 0 / 1.034 GB, free: 336 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.6092, allocations: 39.42 kB / 1.034 GB, free: 296 kB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6092, allocations: 0 / 1.034 GB, free: 296 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.6301, allocations: 4.803 MB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.871, allocations: 7.828 kB / 1.039 GB, free: 11.61 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_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_low.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches