Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.353/2.353, 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.001159/0.001159, allocations: 171.3 kB / 498.1 MB, free: 5.676 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.632/1.632, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.001116/0.001116, allocations: 97.23 kB / 0.9346 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 8.188 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3265, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.5554, allocations: 179.1 MB / 1.398 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.5557, allocations: 99.94 kB / 1.398 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8663/1.422, allocations: 92.1 MB / 1.488 GB, free: 124.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.913e-06/1.422, allocations: 0 / 1.488 GB, free: 124.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001314/1.422, allocations: 63.98 kB / 1.488 GB, free: 124.7 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005209/1.427, allocations: 2.222 MB / 1.49 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.428, allocations: 12.03 kB / 1.49 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/1.432, allocations: 0.7617 MB / 1.491 GB, free: 121.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/1.435, allocations: 1.539 MB / 1.492 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/1.436, allocations: 176.8 kB / 1.493 GB, free: 119.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004421/1.436, allocations: 236 kB / 1.493 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006588/1.443, allocations: 3.872 MB / 1.497 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/1.443, allocations: 3.938 kB / 1.497 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/1.443, allocations: 99.98 kB / 1.497 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/1.443, allocations: 160.5 kB / 1.497 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/1.448, allocations: 3.266 MB / 1.5 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/1.464, allocations: 16.49 MB / 1.516 GB, free: 94.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/1.467, allocations: 2.143 MB / 1.518 GB, free: 91.84 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/1.467, allocations: 93.66 kB / 1.518 GB, free: 91.73 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.467, allocations: 51.11 kB / 1.518 GB, free: 91.68 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 2.825e-06/1.467, allocations: 0 / 1.518 GB, free: 91.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.004852/1.472, allocations: 3.45 MB / 1.522 GB, free: 88.12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.472, allocations: 115.4 kB / 1.522 GB, free: 87.98 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/1.473, allocations: 0.8998 MB / 1.523 GB, free: 87.06 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/1.473, allocations: 41.7 kB / 1.523 GB, free: 87.01 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/1.474, allocations: 1.095 MB / 1.524 GB, free: 85.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/1.474, allocations: 272.2 kB / 1.524 GB, free: 85.63 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/1.474, allocations: 28 kB / 1.524 GB, free: 85.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.474, allocations: 418.7 kB / 1.524 GB, free: 85.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/1.475, allocations: 0.6129 MB / 1.525 GB, free: 84.57 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/1.476, allocations: 1.157 MB / 1.526 GB, free: 83.16 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/1.477, allocations: 0.854 MB / 1.527 GB, free: 82.31 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.477, allocations: 4 kB / 1.527 GB, free: 82.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002503/1.479, allocations: 2.003 MB / 1.529 GB, free: 80.28 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.479, allocations: 12 kB / 1.529 GB, free: 80.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.479, allocations: 19.98 kB / 1.529 GB, free: 80.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/1.48, allocations: 171.8 kB / 1.529 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.481, allocations: 331.5 kB / 1.529 GB, free: 79.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/1.481, allocations: 39.86 kB / 1.53 GB, free: 79.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.482, allocations: 147.6 kB / 1.53 GB, free: 79.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/1.482, allocations: 63.98 kB / 1.53 GB, free: 79.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001845/1.484, allocations: 0.973 MB / 1.531 GB, free: 78.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/1.484, allocations: 110.7 kB / 1.531 GB, free: 78.41 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/1.486, allocations: 1.249 MB / 1.532 GB, free: 77.13 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/1.486, allocations: 8 kB / 1.532 GB, free: 77.12 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.486, allocations: 3.953 kB / 1.532 GB, free: 77.12 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/1.486, allocations: 7.984 kB / 1.532 GB, free: 77.11 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005231/1.491, allocations: 3.561 MB / 1.535 GB, free: 73.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.491, allocations: 8.062 kB / 1.535 GB, free: 73.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/1.492, allocations: 163.7 kB / 1.536 GB, free: 73.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/1.492, allocations: 143.3 kB / 1.536 GB, free: 73.14 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/1.492, allocations: 16 kB / 1.536 GB, free: 73.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.492, allocations: 12 kB / 1.536 GB, free: 73.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.492, allocations: 0 / 1.536 GB, free: 73.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.494, allocations: 1.604 MB / 1.537 GB, free: 71.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/1.495, allocations: 291.6 kB / 1.538 GB, free: 71.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.495, allocations: 19.98 kB / 1.538 GB, free: 71.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.495, allocations: 71.91 kB / 1.538 GB, free: 70.99 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.495, allocations: 64.38 kB / 1.538 GB, free: 70.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/1.495, allocations: 23.94 kB / 1.538 GB, free: 70.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008656/1.496, allocations: 0.6913 MB / 1.539 GB, free: 70.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.01e-07/1.496, allocations: 0 / 1.539 GB, free: 70.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001589/1.498, allocations: 412.1 kB / 1.539 GB, free: 69.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/1.498, allocations: 139 kB / 1.539 GB, free: 69.65 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00201/1.5, allocations: 1.715 MB / 1.541 GB, free: 67.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.5, allocations: 4 kB / 1.541 GB, free: 67.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/1.501, allocations: 0.858 MB / 1.542 GB, free: 66.91 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.502, allocations: 240.5 kB / 1.542 GB, free: 66.68 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/1.509, allocations: 4.604 MB / 1.546 GB, free: 62.01 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.51, allocations: 1.96 MB / 1.548 GB, free: 60.02 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001125/1.511, allocations: 453.3 kB / 1.549 GB, free: 59.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.511, allocations: 87.36 kB / 1.549 GB, free: 59.48 MB / 0.9011 GB Notification: Performance of SimCode: time 1.192e-06/1.511, allocations: 0 / 1.549 GB, free: 59.48 MB / 0.9011 GB Notification: Performance of Templates: time 0.02111/1.533, allocations: 12.46 MB / 1.561 GB, free: 47.14 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches