Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 172.9 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008145, allocations: 103.6 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.842e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2528, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8594/1.112, allocations: 165.1 MB / 1.367 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.113, allocations: 89.14 kB / 1.367 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07218/1.185, allocations: 32.41 MB / 1.399 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/1.185, allocations: 4 kB / 1.399 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.639e-05/1.185, allocations: 26.75 kB / 1.399 GB, free: 23.63 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001422/1.186, allocations: 0.7749 MB / 1.4 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.186, allocations: 7.688 kB / 1.4 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.188, allocations: 217.8 kB / 1.4 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/1.189, allocations: 491.3 kB / 1.4 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.189, allocations: 11.56 kB / 1.4 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/1.189, allocations: 30.72 kB / 1.4 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006619/1.189, allocations: 418.5 kB / 1.401 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/1.19, allocations: 0.8538 MB / 1.402 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.19, allocations: 7.781 kB / 1.402 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/1.19, allocations: 3.844 kB / 1.402 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/1.191, allocations: 54.73 kB / 1.402 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/1.195, allocations: 5.553 MB / 1.407 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/1.195, allocations: 433.2 kB / 1.408 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/1.195, allocations: 215 kB / 1.408 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/1.195, allocations: 0.5312 kB / 1.408 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/1.195, allocations: 42.38 kB / 1.408 GB, free: 16.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/1.195, allocations: 0 / 1.408 GB, free: 16.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001322/1.197, allocations: 0.8059 MB / 1.409 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/1.197, allocations: 59.14 kB / 1.409 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/1.197, allocations: 367.6 kB / 1.409 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.197, allocations: 25.7 kB / 1.409 GB, free: 16.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/1.197, allocations: 349.4 kB / 1.409 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/1.197, allocations: 112.2 kB / 1.41 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/1.197, allocations: 0 / 1.41 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.197, allocations: 361.9 kB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.198, allocations: 176.5 kB / 1.41 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/1.198, allocations: 387.8 kB / 1.41 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/1.198, allocations: 235.4 kB / 1.411 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.198, allocations: 7.781 kB / 1.411 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009662/1.199, allocations: 0.6892 MB / 1.411 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.199, allocations: 11.38 kB / 1.411 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.199, allocations: 11.48 kB / 1.411 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004379/1.2, allocations: 148.6 kB / 1.411 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/1.2, allocations: 113.7 kB / 1.412 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/1.203, allocations: 3.868 MB / 1.415 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/1.203, allocations: 20.19 kB / 1.415 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/1.203, allocations: 34.31 kB / 1.415 GB, free: 10.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/1.203, allocations: 124.7 kB / 1.416 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/1.203, allocations: 55.34 kB / 1.416 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/1.204, allocations: 0.5607 MB / 1.416 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.204, allocations: 4 kB / 1.416 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.204, allocations: 0 / 1.416 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.204, allocations: 3.984 kB / 1.416 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.206, allocations: 1.15 MB / 1.417 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.206, allocations: 0 / 1.417 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/1.206, allocations: 55.89 kB / 1.417 GB, free: 9.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003895/1.207, allocations: 147.5 kB / 1.417 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/1.207, allocations: 0 / 1.417 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/1.21, allocations: 3.868 MB / 1.421 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.21, allocations: 3.984 kB / 1.421 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/1.211, allocations: 0.7502 MB / 1.422 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/1.211, allocations: 165.8 kB / 1.422 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/1.211, allocations: 7.984 kB / 1.422 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/1.211, allocations: 15.97 kB / 1.422 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/1.211, allocations: 39.55 kB / 1.422 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/1.211, allocations: 11.19 kB / 1.422 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002726/1.212, allocations: 263 kB / 1.422 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.212, allocations: 4 kB / 1.422 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000646/1.212, allocations: 132 kB / 1.423 GB, free: 3.645 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/1.212, allocations: 111.8 kB / 1.423 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.214, allocations: 0.9519 MB / 1.424 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.214, allocations: 0 / 1.424 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/1.214, allocations: 0.7052 MB / 1.424 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/1.215, allocations: 169.8 kB / 1.424 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/1.217, allocations: 0.7385 MB / 1.425 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/1.217, allocations: 0.917 MB / 1.426 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003642/1.218, allocations: 104.9 kB / 1.426 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/1.218, allocations: 35.44 kB / 1.426 GB, free: 12 kB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.218, allocations: 0 / 1.426 GB, free: 12 kB / 0.8386 GB Notification: Performance of Templates: time 0.01289/1.231, allocations: 6.375 MB / 1.432 GB, free: 9.727 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches