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.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008272/0.000827, allocations: 106.4 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.782e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6452/0.8206, allocations: 148 MB / 1.036 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.8209, allocations: 98.8 kB / 1.036 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06634/0.8873, allocations: 29.75 MB / 1.065 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8873, allocations: 0 / 1.065 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.8874, allocations: 16 kB / 1.065 GB, free: 11.05 MB / 0.6823 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.001072/0.8884, allocations: 0.7821 MB / 1.066 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.8885, allocations: 12.03 kB / 1.066 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.8897, allocations: 206.9 kB / 1.066 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.8904, allocations: 496.9 kB / 1.067 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.8904, allocations: 30.38 kB / 1.067 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.8905, allocations: 50.28 kB / 1.067 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.8916, allocations: 0.9104 MB / 1.068 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8916, allocations: 11.83 kB / 1.068 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.8917, allocations: 29.36 kB / 1.068 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-05/0.8917, allocations: 54.38 kB / 1.068 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.8925, allocations: 0.5469 MB / 1.069 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.8963, allocations: 5.668 MB / 1.074 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.8969, allocations: 456.4 kB / 1.074 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.8972, allocations: 224.6 kB / 1.075 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.8973, allocations: 3.938 kB / 1.075 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.8973, allocations: 37.88 kB / 1.075 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.8973, allocations: 0 / 1.075 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001419/0.8987, allocations: 0.8444 MB / 1.076 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.8988, allocations: 59.39 kB / 1.076 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.8992, allocations: 439.4 kB / 1.076 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.8992, allocations: 32.33 kB / 1.076 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.8994, allocations: 346.3 kB / 1.076 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.8995, allocations: 119.6 kB / 1.077 GB, free: 496 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.8995, allocations: 11.12 kB / 1.077 GB, free: 492 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8997, allocations: 374.4 kB / 1.077 GB, free: 132 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.8999, allocations: 182.4 kB / 1.077 GB, free: 12 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.9003, allocations: 402.3 kB / 1.077 GB, free: 15.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.9006, allocations: 250.7 kB / 1.078 GB, free: 15.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9006, allocations: 4 kB / 1.078 GB, free: 15.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.9018, allocations: 0.7615 MB / 1.078 GB, free: 14.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.9018, allocations: 8 kB / 1.078 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.9018, allocations: 8 kB / 1.078 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000493/0.9023, allocations: 160.1 kB / 1.079 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.9027, allocations: 107.1 kB / 1.079 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.9059, allocations: 4.032 MB / 1.083 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.9065, allocations: 38.28 kB / 1.083 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.9065, allocations: 22.88 kB / 1.083 GB, free: 10.22 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 () * 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.0001863/0.9067, allocations: 136.4 kB / 1.083 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.9069, allocations: 59.25 kB / 1.083 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.9082, allocations: 0.6003 MB / 1.083 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.9083, allocations: 4 kB / 1.083 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9083, allocations: 0 / 1.083 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.9083, allocations: 7.938 kB / 1.083 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.9107, allocations: 1.253 MB / 1.085 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9108, allocations: 0 / 1.085 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.911, allocations: 59.89 kB / 1.085 GB, free: 8.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.9114, allocations: 140.4 kB / 1.085 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.9115, allocations: 8 kB / 1.085 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.9146, allocations: 4.029 MB / 1.089 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9146, allocations: 4.031 kB / 1.089 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.9158, allocations: 0.7901 MB / 1.09 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.916, allocations: 168.3 kB / 1.09 GB, free: 2.633 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.9161, allocations: 8 kB / 1.09 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.9164, allocations: 23.97 kB / 1.09 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.9164, allocations: 27.95 kB / 1.09 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.9165, allocations: 16 kB / 1.09 GB, free: 2.559 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003529/0.9168, allocations: 333.5 kB / 1.09 GB, free: 2.234 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9168, allocations: 0 / 1.09 GB, free: 2.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006405/0.9175, allocations: 144 kB / 1.09 GB, free: 2.094 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 () * 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.0001772/0.9177, allocations: 127.1 kB / 1.09 GB, free: 1.961 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.9191, allocations: 0.9979 MB / 1.091 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9191, allocations: 0 / 1.091 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/0.9199, allocations: 0.7383 MB / 1.092 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.9208, allocations: 177.8 kB / 1.092 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.922, allocations: 0.7652 MB / 1.093 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.9226, allocations: 0.9219 MB / 1.094 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003327/0.9229, allocations: 117.1 kB / 1.094 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.923, allocations: 43.44 kB / 1.094 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of SimCode: time 4.5e-07/0.923, allocations: 0 / 1.094 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.01243/0.9355, allocations: 7.065 MB / 1.101 GB, free: 6.973 MB / 0.7136 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