Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.004971/0.004971, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001079/0.001079, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.409/2.409, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 55.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7478, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007872/0.7557, allocations: 6.166 MB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004707/0.7604, allocations: 3.164 MB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.7609, allocations: 27.81 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.7634, allocations: 0.9445 MB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.7646, allocations: 485.5 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.7658, allocations: 0.5 MB / 1.177 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.767, allocations: 1.1 MB / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009289/0.768, allocations: 0.6465 MB / 1.179 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.7687, allocations: 442.4 kB / 1.179 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.7693, allocations: 482.1 kB / 1.18 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.7695, allocations: 60 kB / 1.18 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.7703, allocations: 475 kB / 1.18 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.7706, allocations: 295.2 kB / 1.181 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.771, allocations: 397.9 kB / 1.181 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.7724, allocations: 1.187 MB / 1.182 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7724, allocations: 0 / 1.182 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7724, allocations: 0 / 1.182 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.625e-05/0.7724, allocations: 0 / 1.182 GB, free: 3.379 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001755/0.7742, allocations: 1.093 MB / 1.183 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7742, allocations: 8.922 kB / 1.183 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.7744, allocations: 114.7 kB / 1.183 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.7759, allocations: 224.2 kB / 1.183 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009452/0.7769, allocations: 0.6082 MB / 1.184 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.7769, allocations: 49.67 kB / 1.184 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.777, allocations: 64.31 kB / 1.184 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.7784, allocations: 1.03 MB / 1.185 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.7784, allocations: 7.938 kB / 1.185 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.7785, allocations: 35.98 kB / 1.185 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.447e-05/0.7786, allocations: 61.28 kB / 1.185 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.7796, allocations: 0.6918 MB / 1.186 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.7842, allocations: 5.749 MB / 1.192 GB, free: 9.008 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.785, allocations: 0.5902 MB / 1.192 GB, free: 8.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/0.7858, allocations: 437.5 kB / 1.193 GB, free: 7.941 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.7859, allocations: 7.984 kB / 1.193 GB, free: 7.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7859, allocations: 38.56 kB / 1.193 GB, free: 7.887 MB / 0.92 GB Notification: Performance of pre-optimization done (n=41): time 3.166e-06/0.7859, allocations: 0 / 1.193 GB, free: 7.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.004095/0.79, allocations: 2.031 MB / 1.195 GB, free: 5.762 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.7901, allocations: 55.41 kB / 1.195 GB, free: 5.695 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.7905, allocations: 462.8 kB / 1.195 GB, free: 5.234 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.7906, allocations: 33.7 kB / 1.195 GB, free: 5.195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.7908, allocations: 396.1 kB / 1.196 GB, free: 4.805 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.7909, allocations: 162.7 kB / 1.196 GB, free: 4.645 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.7911, allocations: 106.2 kB / 1.196 GB, free: 4.535 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7912, allocations: 366.8 kB / 1.196 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.7915, allocations: 241.2 kB / 1.196 GB, free: 3.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.792, allocations: 457 kB / 1.197 GB, free: 3.391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.7928, allocations: 0.748 MB / 1.198 GB, free: 2.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7929, allocations: 7.938 kB / 1.198 GB, free: 2.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001768/0.7946, allocations: 1.042 MB / 1.199 GB, free: 1.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.7947, allocations: 8 kB / 1.199 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7947, allocations: 7.938 kB / 1.199 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009906/0.7957, allocations: 323.6 kB / 1.199 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.796, allocations: 95.83 kB / 1.199 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006693/0.8027, allocations: 7.471 MB / 1.206 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.8031, allocations: 36.16 kB / 1.206 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.8032, allocations: 28 kB / 1.206 GB, free: 8.941 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.8035, allocations: 237.6 kB / 1.207 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.8036, allocations: 71.55 kB / 1.207 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.8052, allocations: 0.8887 MB / 1.207 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8052, allocations: 8 kB / 1.207 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.8053, allocations: 8 kB / 1.207 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8053, allocations: 7.922 kB / 1.207 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.8079, allocations: 1.667 MB / 1.209 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8079, allocations: 0 / 1.209 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8081, allocations: 51.89 kB / 1.209 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.8091, allocations: 315.5 kB / 1.209 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.8091, allocations: 12 kB / 1.209 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/0.8159, allocations: 7.465 MB / 1.217 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8159, allocations: 7.938 kB / 1.217 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.8175, allocations: 1.003 MB / 1.218 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.8177, allocations: 176.7 kB / 1.218 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.8178, allocations: 8 kB / 1.218 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.8181, allocations: 23.91 kB / 1.218 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.8182, allocations: 43.89 kB / 1.218 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.8183, allocations: 12 kB / 1.218 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003094/0.8186, allocations: 314.9 kB / 1.218 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8186, allocations: 0 / 1.218 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007234/0.8193, allocations: 196 kB / 1.218 GB, free: 11.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.8212, allocations: 1.536 MB / 1.22 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.823, allocations: 1.203 MB / 1.221 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.823, allocations: 0 / 1.221 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.8242, allocations: 0.8542 MB / 1.222 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.8252, allocations: 200.6 kB / 1.222 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/0.8328, allocations: 5.908 MB / 1.228 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.8335, allocations: 0.9921 MB / 1.229 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.8338, allocations: 105.2 kB / 1.229 GB, free: 416 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.8341, allocations: 227.4 kB / 1.229 GB, free: 188 kB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.8341, allocations: 0 / 1.229 GB, free: 188 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.8759, allocations: 15.39 MB / 1.244 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.829/10.71, allocations: 4 kB / 1.244 GB, free: 1.039 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches