Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 189.3 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 89.98 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 8.781 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.451, allocations: 148.1 MB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4514, allocations: 95.94 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5494/1.001, allocations: 29.92 MB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/1.001, allocations: 3.938 kB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.881e-05/1.001, allocations: 17.94 kB / 1.074 GB, free: 148.1 MB / 0.698 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.002088/1.003, allocations: 0.8553 MB / 1.075 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.003, allocations: 9 kB / 1.075 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/1.005, allocations: 199 kB / 1.075 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.006, allocations: 0.499 MB / 1.076 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/1.006, allocations: 35.06 kB / 1.076 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.006, allocations: 43.53 kB / 1.076 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.007, allocations: 0.9216 MB / 1.077 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/1.007, allocations: 12.02 kB / 1.077 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/1.008, allocations: 24.14 kB / 1.077 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.008, allocations: 54.78 kB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/1.009, allocations: 0.5604 MB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/1.013, allocations: 5.669 MB / 1.083 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/1.014, allocations: 454.7 kB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/1.014, allocations: 6.719 kB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.014, allocations: 38.94 kB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/1.014, allocations: 0 / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0026/1.017, allocations: 1.504 MB / 1.085 GB, free: 140.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/1.017, allocations: 54 kB / 1.085 GB, free: 140.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/1.018, allocations: 440.7 kB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/1.018, allocations: 29.83 kB / 1.085 GB, free: 140.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/1.018, allocations: 355 kB / 1.085 GB, free: 139.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.018, allocations: 124.5 kB / 1.086 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/1.018, allocations: 9.062 kB / 1.086 GB, free: 139.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.018, allocations: 362 kB / 1.086 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/1.018, allocations: 196.8 kB / 1.086 GB, free: 139.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/1.019, allocations: 406.3 kB / 1.087 GB, free: 139.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/1.019, allocations: 252.6 kB / 1.087 GB, free: 139.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.019, allocations: 2.031 kB / 1.087 GB, free: 139.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001619/1.021, allocations: 0.7714 MB / 1.088 GB, free: 138.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/1.021, allocations: 7.781 kB / 1.088 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.021, allocations: 7.406 kB / 1.088 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/1.022, allocations: 157.4 kB / 1.088 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/1.022, allocations: 114.8 kB / 1.088 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/1.025, allocations: 4.058 MB / 1.092 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/1.025, allocations: 38.22 kB / 1.092 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.025, allocations: 29.73 kB / 1.092 GB, free: 134.8 MB / 0.698 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.0002689/1.026, allocations: 204.9 kB / 1.092 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.026, allocations: 66.16 kB / 1.092 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/1.027, allocations: 0.5985 MB / 1.093 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.027, allocations: 3.875 kB / 1.093 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.027, allocations: 3.969 kB / 1.093 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.027, allocations: 7.938 kB / 1.093 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/1.028, allocations: 1.257 MB / 1.094 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.028, allocations: 2.594 kB / 1.094 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/1.029, allocations: 52.48 kB / 1.094 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/1.029, allocations: 148.5 kB / 1.094 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.029, allocations: 13.7 kB / 1.094 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.031, allocations: 4.048 MB / 1.098 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.031, allocations: 3.938 kB / 1.098 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/1.032, allocations: 0.7935 MB / 1.099 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/1.032, allocations: 174.7 kB / 1.099 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/1.032, allocations: 6.844 kB / 1.099 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/1.032, allocations: 22.84 kB / 1.099 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/1.032, allocations: 29.56 kB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/1.033, allocations: 14.56 kB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002788/1.033, allocations: 335.4 kB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006391/1.033, allocations: 147.1 kB / 1.1 GB, free: 128.6 MB / 0.698 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.0001592/1.034, allocations: 121.2 kB / 1.1 GB, free: 128.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001103/1.035, allocations: 1.021 MB / 1.101 GB, free: 127.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.035, allocations: 0 / 1.101 GB, free: 127.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/1.035, allocations: 0.7323 MB / 1.101 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/1.036, allocations: 176.5 kB / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.038, allocations: 1.236 MB / 1.103 GB, free: 126.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.038, allocations: 0.9204 MB / 1.104 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003322/1.038, allocations: 121.7 kB / 1.104 GB, free: 125.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/1.038, allocations: 38.84 kB / 1.104 GB, free: 125.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.038, allocations: 0 / 1.104 GB, free: 125.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01099/1.049, allocations: 7.054 MB / 1.111 GB, free: 119.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches