Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_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.007427/0.007427, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001972/0.001972, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 64.11 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.276, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002454/0.2785, allocations: 1.409 MB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.281, allocations: 1.919 MB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.281, allocations: 0 / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.282, allocations: 393.5 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.282, allocations: 15.91 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.282, allocations: 0 / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.2822, allocations: 131.1 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.2823, allocations: 25.48 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.2824, allocations: 39.86 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2825, allocations: 59.72 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2825, allocations: 0 / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.283, allocations: 187.8 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.2831, allocations: 39.81 kB / 1.246 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.2832, allocations: 63.62 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.2836, allocations: 294.7 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2837, allocations: 0 / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2837, allocations: 4 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2837, allocations: 0 / 1.246 GB, free: 5.695 MB / 0.9981 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.0007086/0.2844, allocations: 498.3 kB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2844, allocations: 8.031 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.2845, allocations: 117.9 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2847, allocations: 92.12 kB / 1.247 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2849, allocations: 299.3 kB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.285, allocations: 154.9 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.2851, allocations: 154.9 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.262e-05/0.2852, allocations: 108.9 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.2852, allocations: 75.28 kB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.2853, allocations: 150.6 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.2853, allocations: 154.6 kB / 1.248 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/0.2854, allocations: 154.5 kB / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.2858, allocations: 0.5017 MB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/0.2859, allocations: 169.1 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.2859, allocations: 84.14 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.286, allocations: 79.22 kB / 1.249 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/0.286, allocations: 113.8 kB / 1.249 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2861, allocations: 0 / 1.249 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001757/0.2862, allocations: 49.55 kB / 1.249 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.2863, allocations: 126.7 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.2867, allocations: 330.4 kB / 1.249 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2867, allocations: 25.7 kB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.2868, allocations: 112.5 kB / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.2868, allocations: 0 / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.2869, allocations: 65.72 kB / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.287, allocations: 330.8 kB / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.2871, allocations: 63.95 kB / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2873, allocations: 121.9 kB / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.2875, allocations: 209.9 kB / 1.25 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2875, allocations: 0 / 1.25 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004396/0.288, allocations: 245.2 kB / 1.25 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.288, allocations: 9.406 kB / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.288, allocations: 224 / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.288, allocations: 8 kB / 1.25 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.288, allocations: 3.938 kB / 1.25 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.288, allocations: 4 kB / 1.25 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2882, allocations: 27.67 kB / 1.25 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2882, allocations: 8 kB / 1.25 GB, free: 0.8438 MB / 0.9981 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.0001826/0.2884, allocations: 225 kB / 1.251 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.2885, allocations: 124.8 kB / 1.251 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.2885, allocations: 117.8 kB / 1.251 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.177e-05/0.2886, allocations: 184.2 kB / 1.251 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.4691/0.7577, allocations: 176.3 kB / 1.251 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.7577, allocations: 179.1 kB / 1.251 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.758, allocations: 446.5 kB / 1.252 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.758, allocations: 109.8 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.758, allocations: 106.2 kB / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2e-05/0.758, allocations: 180.6 kB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.7581, allocations: 180.7 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.7581, allocations: 182.9 kB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.749e-05/0.7581, allocations: 177.9 kB / 1.253 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.15e-05/0.7582, allocations: 326.5 kB / 1.253 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.7583, allocations: 205 kB / 1.253 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.7583, allocations: 186.9 kB / 1.253 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7584, allocations: 102.8 kB / 1.253 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.7584, allocations: 179.9 kB / 1.254 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.7585, allocations: 106.4 kB / 1.254 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002188/0.7587, allocations: 215.3 kB / 1.254 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7587, allocations: 0.9062 kB / 1.254 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003828/0.7591, allocations: 62.34 kB / 1.254 GB, free: 12.79 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.000406/0.7595, allocations: 0.9258 MB / 1.255 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.7597, allocations: 106.6 kB / 1.255 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7597, allocations: 0 / 1.255 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.7597, allocations: 0.8125 kB / 1.255 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.76, allocations: 458.7 kB / 1.255 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.7621, allocations: 2.447 MB / 1.258 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.7622, allocations: 0.7458 MB / 1.259 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.7622, allocations: 3.609 kB / 1.259 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.7623, allocations: 33.19 kB / 1.259 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.7623, allocations: 0 / 1.259 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.7883, allocations: 4.853 MB / 1.263 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.453, allocations: 14.86 kB / 1.263 GB, free: 8.738 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches