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.19/2.19, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001148/0.001148, allocations: 188.8 kB / 492.3 MB, free: 0.6094 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.558/1.558, allocations: 221.3 MB / 0.7872 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 94.02 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.162e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3449, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9484/1.293, allocations: 165.8 MB / 1.374 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.294, allocations: 98.25 kB / 1.374 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06688/1.361, allocations: 32.54 MB / 1.406 GB, free: 19.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.361, allocations: 0 / 1.406 GB, free: 19.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.877e-05/1.361, allocations: 20 kB / 1.406 GB, free: 19.92 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.001023/1.362, allocations: 0.7802 MB / 1.407 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.362, allocations: 8.031 kB / 1.407 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.363, allocations: 206.8 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/1.364, allocations: 493.2 kB / 1.408 GB, free: 18.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.364, allocations: 35.42 kB / 1.408 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/1.364, allocations: 49.52 kB / 1.408 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/1.365, allocations: 0.918 MB / 1.409 GB, free: 17.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.365, allocations: 7.938 kB / 1.409 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/1.365, allocations: 26.05 kB / 1.409 GB, free: 17.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/1.365, allocations: 59.05 kB / 1.409 GB, free: 17.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006732/1.365, allocations: 0.5458 MB / 1.409 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/1.369, allocations: 5.664 MB / 1.415 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/1.37, allocations: 444 kB / 1.415 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/1.37, allocations: 225.3 kB / 1.415 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/1.37, allocations: 7.984 kB / 1.415 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.37, allocations: 42.3 kB / 1.415 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/1.37, allocations: 0 / 1.415 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001541/1.372, allocations: 0.8522 MB / 1.416 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.372, allocations: 59.34 kB / 1.416 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/1.372, allocations: 438.2 kB / 1.417 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.373, allocations: 37.33 kB / 1.417 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/1.373, allocations: 350.4 kB / 1.417 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/1.373, allocations: 118 kB / 1.417 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/1.373, allocations: 8.125 kB / 1.417 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.373, allocations: 370 kB / 1.418 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/1.373, allocations: 186.3 kB / 1.418 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/1.374, allocations: 395.8 kB / 1.418 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/1.374, allocations: 254.1 kB / 1.418 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.374, allocations: 4 kB / 1.418 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001138/1.375, allocations: 0.7696 MB / 1.419 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.375, allocations: 8 kB / 1.419 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.375, allocations: 8 kB / 1.419 GB, free: 7.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/1.376, allocations: 151.6 kB / 1.419 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/1.376, allocations: 115.4 kB / 1.419 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/1.379, allocations: 4.032 MB / 1.423 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/1.38, allocations: 38.16 kB / 1.423 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/1.38, allocations: 23.19 kB / 1.423 GB, free: 3.16 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.0001339/1.38, allocations: 135.7 kB / 1.424 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/1.38, allocations: 59.34 kB / 1.424 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/1.381, allocations: 0.602 MB / 1.424 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.381, allocations: 0 / 1.424 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.381, allocations: 4 kB / 1.424 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/1.381, allocations: 7.938 kB / 1.424 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/1.383, allocations: 1.247 MB / 1.425 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.383, allocations: 4 kB / 1.425 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/1.383, allocations: 51.89 kB / 1.425 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/1.383, allocations: 149.4 kB / 1.426 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/1.383, allocations: 7.25 kB / 1.426 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/1.386, allocations: 4.031 MB / 1.43 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.386, allocations: 0 / 1.43 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.387, allocations: 0.7845 MB / 1.43 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/1.388, allocations: 171.7 kB / 1.431 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/1.388, allocations: 11.81 kB / 1.431 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/1.388, allocations: 19.28 kB / 1.431 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/1.388, allocations: 35.7 kB / 1.431 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/1.388, allocations: 15.88 kB / 1.431 GB, free: 12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003497/1.388, allocations: 330.5 kB / 1.431 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.388, allocations: 0 / 1.431 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006599/1.389, allocations: 147.5 kB / 1.431 GB, free: 11.62 MB / 0.8542 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.0001988/1.389, allocations: 116.4 kB / 1.431 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001282/1.391, allocations: 1.004 MB / 1.432 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.391, allocations: 0 / 1.432 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000786/1.391, allocations: 0.7276 MB / 1.433 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/1.392, allocations: 178.9 kB / 1.433 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.393, allocations: 0.7678 MB / 1.434 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/1.394, allocations: 0.9256 MB / 1.435 GB, free: 8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000334/1.394, allocations: 117.1 kB / 1.435 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/1.394, allocations: 43.44 kB / 1.435 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/1.394, allocations: 0 / 1.435 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.01332/1.408, allocations: 7.071 MB / 1.442 GB, free: 0.8789 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