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.257/2.257, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001247/0.001247, allocations: 191.2 kB / 498.1 MB, free: 5.66 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.675/1.675, allocations: 223.2 MB / 0.7948 GB, free: 17.79 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.0009667/0.0009666, allocations: 99.33 kB / 0.9346 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 10.56 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.5553, allocations: 165.9 MB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5556, allocations: 95.88 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0779/0.6335, allocations: 32.72 MB / 1.417 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6336, allocations: 0 / 1.417 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.61e-05/0.6337, allocations: 23.98 kB / 1.417 GB, free: 10.86 MB / 0.9167 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.001743/0.6354, allocations: 0.8566 MB / 1.418 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6355, allocations: 8.031 kB / 1.418 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.6369, allocations: 206.9 kB / 1.418 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.6379, allocations: 492.3 kB / 1.418 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.6379, allocations: 32.98 kB / 1.418 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.638, allocations: 55.89 kB / 1.419 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.6393, allocations: 0.9267 MB / 1.419 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.6394, allocations: 7.938 kB / 1.419 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.6394, allocations: 27.98 kB / 1.419 GB, free: 8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.427e-05/0.6395, allocations: 52.97 kB / 1.42 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.6404, allocations: 0.5578 MB / 1.42 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.6453, allocations: 5.674 MB / 1.426 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.646, allocations: 450.3 kB / 1.426 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.6461, allocations: 0 / 1.426 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.6461, allocations: 46.45 kB / 1.426 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.6461, allocations: 4 kB / 1.426 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.6847/1.331, allocations: 1.482 MB / 1.428 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.331, allocations: 59.17 kB / 1.428 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/1.331, allocations: 450.7 kB / 1.428 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/1.332, allocations: 32.48 kB / 1.428 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/1.332, allocations: 345.6 kB / 1.428 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/1.332, allocations: 121.7 kB / 1.428 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/1.332, allocations: 12.12 kB / 1.429 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.332, allocations: 361.4 kB / 1.429 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/1.332, allocations: 188.3 kB / 1.429 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/1.333, allocations: 412.9 kB / 1.429 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/1.333, allocations: 248.2 kB / 1.43 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.333, allocations: 2.25 kB / 1.43 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001361/1.334, allocations: 0.7702 MB / 1.43 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.334, allocations: 12.59 kB / 1.43 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.335, allocations: 6.688 kB / 1.43 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/1.335, allocations: 154 kB / 1.431 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/1.336, allocations: 111.7 kB / 1.431 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/1.338, allocations: 4.073 MB / 1.435 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/1.339, allocations: 30.73 kB / 1.435 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/1.339, allocations: 26.27 kB / 1.435 GB, free: 178.9 MB / 0.9167 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 () * Number of clocked 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.0003347/1.339, allocations: 211.1 kB / 1.435 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/1.339, allocations: 66.31 kB / 1.435 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/1.34, allocations: 0.596 MB / 1.436 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.34, allocations: 6.828 kB / 1.436 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/1.34, allocations: 4.406 kB / 1.436 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.34, allocations: 1.922 kB / 1.436 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/1.342, allocations: 1.262 MB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.342, allocations: 1.281 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.343, allocations: 54.66 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/1.343, allocations: 149.8 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/1.343, allocations: 7.562 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/1.346, allocations: 4.053 MB / 1.441 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.346, allocations: 5.094 kB / 1.441 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.347, allocations: 0.7826 MB / 1.442 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/1.347, allocations: 174.3 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/1.347, allocations: 9.156 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/1.347, allocations: 27.95 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/1.348, allocations: 30.59 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/1.348, allocations: 10.97 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004302/1.348, allocations: 334.4 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.4e-07/1.348, allocations: 0 / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007569/1.349, allocations: 150.2 kB / 1.442 GB, free: 173.9 MB / 0.9167 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 () * Number of clocked 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.0001569/1.349, allocations: 112.4 kB / 1.443 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001383/1.35, allocations: 1.02 MB / 1.444 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.35, allocations: 0 / 1.444 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/1.351, allocations: 0.7399 MB / 1.444 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/1.352, allocations: 181.1 kB / 1.444 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/1.354, allocations: 1.236 MB / 1.446 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/1.354, allocations: 0.9265 MB / 1.447 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004001/1.354, allocations: 112.8 kB / 1.447 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.355, allocations: 39.23 kB / 1.447 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/1.355, allocations: 1.406 kB / 1.447 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.01719/1.372, allocations: 7.058 MB / 1.454 GB, free: 171 MB / 0.9167 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