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.001193/0.001193, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001069/0.001069, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.268/2.268, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5268, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002298/0.5291, allocations: 1.464 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.5312, allocations: 1.908 MB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.5312, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5323, allocations: 377.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.5323, allocations: 19.91 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.5323, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.5325, allocations: 127.2 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.5326, allocations: 21.48 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.5327, allocations: 47.78 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.5328, allocations: 59.72 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.5328, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.5332, allocations: 179.9 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.5332, allocations: 31.84 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.5333, allocations: 75.61 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.5337, allocations: 285.2 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5337, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5337, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5338, allocations: 0 / 1.021 GB, free: 14.03 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.000626/0.5344, allocations: 494.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5344, allocations: 8.031 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.5345, allocations: 110 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.5346, allocations: 99.88 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.5349, allocations: 303.3 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.5349, allocations: 154.9 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.535, allocations: 150.9 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.81e-05/0.535, allocations: 108.9 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5351, allocations: 75.28 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.5351, allocations: 154.6 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.5352, allocations: 154.6 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.5352, allocations: 150.6 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.5355, allocations: 0.5055 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.5356, allocations: 169.1 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.5357, allocations: 80.14 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.5357, allocations: 79.22 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.5358, allocations: 109.8 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.5358, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001535/0.5359, allocations: 53.34 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.536, allocations: 130.7 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.5363, allocations: 326.3 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.5363, allocations: 25.7 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.5364, allocations: 120.4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.5364, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.5364, allocations: 61.69 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5366, allocations: 330.8 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.5366, allocations: 59.95 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.5368, allocations: 122 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.537, allocations: 205.8 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.537, allocations: 0 / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003678/0.5373, allocations: 233.2 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5374, allocations: 12.22 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5374, allocations: 3.984 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5374, allocations: 4 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.574e-06/0.5374, allocations: 3.938 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5374, allocations: 4 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.5375, allocations: 31.53 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5376, allocations: 4 kB / 1.026 GB, free: 9.199 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.0001752/0.5377, allocations: 225.1 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.5378, allocations: 132.7 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.5379, allocations: 113.8 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/0.5379, allocations: 184.3 kB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/0.538, allocations: 180.2 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.406e-05/0.538, allocations: 176.3 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.5383, allocations: 457.1 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/0.5383, allocations: 104.9 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.5384, allocations: 105 kB / 1.027 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.584e-05/0.5384, allocations: 180.4 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.5385, allocations: 180.3 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.083e-05/0.5385, allocations: 192.2 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.643e-05/0.5386, allocations: 184.3 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.5387, allocations: 315.5 kB / 1.028 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.5388, allocations: 201.8 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.5389, allocations: 184.2 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.539, allocations: 109 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.5391, allocations: 184.2 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.5391, allocations: 105 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001756/0.5393, allocations: 213.9 kB / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5393, allocations: 0 / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003046/0.5396, allocations: 67.98 kB / 1.029 GB, free: 5.27 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.0005546/0.5402, allocations: 0.9215 MB / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.5404, allocations: 107.9 kB / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5404, allocations: 0 / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.5404, allocations: 0 / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5407, allocations: 461 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.5429, allocations: 2.449 MB / 1.033 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5432, allocations: 0.7393 MB / 1.034 GB, free: 436 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.222e-05/0.5432, allocations: 4 kB / 1.034 GB, free: 432 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.5433, allocations: 31.42 kB / 1.034 GB, free: 400 kB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5433, allocations: 0 / 1.034 GB, free: 400 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/2.174, allocations: 4.733 MB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/2.174, allocations: 224.5 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/4.039, allocations: 4 kB / 1.039 GB, free: 11.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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