Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.636/2.636, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 8 kB / 0.8708 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8397, allocations: 153.6 MB / 1.021 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005218/0.845, allocations: 4.144 MB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0042/0.8492, allocations: 2.321 MB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.8497, allocations: 31.75 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.8499, allocations: 67.45 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.851, allocations: 370.8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.8518, allocations: 306.5 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.8527, allocations: 0.5952 MB / 1.028 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007606/0.8534, allocations: 420.2 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.8538, allocations: 270.9 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.8543, allocations: 282.8 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.8544, allocations: 24 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.8548, allocations: 147.7 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.8549, allocations: 143.5 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.855, allocations: 133.4 kB / 1.03 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.8557, allocations: 0.6096 MB / 1.03 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8557, allocations: 0 / 1.03 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8557, allocations: 0 / 1.03 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.8557, allocations: 0 / 1.03 GB, free: 7.289 MB / 0.7794 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.001347/0.857, allocations: 0.8294 MB / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8571, allocations: 8.031 kB / 1.031 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.858, allocations: 179 kB / 1.031 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.8588, allocations: 481.4 kB / 1.032 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.8589, allocations: 40.94 kB / 1.032 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.859, allocations: 47.89 kB / 1.032 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.8601, allocations: 0.8327 MB / 1.033 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.8602, allocations: 7.938 kB / 1.033 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.8602, allocations: 24 kB / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.383e-05/0.8603, allocations: 64.95 kB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.8612, allocations: 0.5616 MB / 1.033 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.8658, allocations: 5.654 MB / 1.039 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/0.8664, allocations: 462.1 kB / 1.039 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.8665, allocations: 4 kB / 1.039 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.8665, allocations: 34.56 kB / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.8665, allocations: 0 / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.00259/0.8691, allocations: 1.508 MB / 1.041 GB, free: 11.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.8692, allocations: 55.69 kB / 1.041 GB, free: 11.76 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.8697, allocations: 0.4951 MB / 1.041 GB, free: 11.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.8697, allocations: 29.7 kB / 1.041 GB, free: 11.22 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.87, allocations: 366.8 kB / 1.042 GB, free: 10.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.8701, allocations: 118.3 kB / 1.042 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.8701, allocations: 8 kB / 1.042 GB, free: 10.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8703, allocations: 378.7 kB / 1.042 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.8705, allocations: 189.2 kB / 1.042 GB, free: 10.17 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.8711, allocations: 455 kB / 1.043 GB, free: 9.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.8714, allocations: 255.7 kB / 1.043 GB, free: 9.355 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8714, allocations: 4 kB / 1.043 GB, free: 9.352 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001179/0.8726, allocations: 0.8049 MB / 1.044 GB, free: 8.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.8727, allocations: 8 kB / 1.044 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.8727, allocations: 12.86 kB / 1.044 GB, free: 8.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.8732, allocations: 152.2 kB / 1.044 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.8736, allocations: 123.7 kB / 1.044 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.8768, allocations: 4.06 MB / 1.048 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.8773, allocations: 31.97 kB / 1.048 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.8774, allocations: 35.94 kB / 1.048 GB, free: 3.691 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * 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.0002996/0.8777, allocations: 219.2 kB / 1.048 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.8778, allocations: 67.19 kB / 1.048 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.8788, allocations: 0.5936 MB / 1.049 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.8788, allocations: 4 kB / 1.049 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8788, allocations: 4 kB / 1.049 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8788, allocations: 0 / 1.049 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.8806, allocations: 1.261 MB / 1.05 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8806, allocations: 224 / 1.05 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.8809, allocations: 63.89 kB / 1.05 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.8813, allocations: 140.1 kB / 1.051 GB, free: 1.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.8813, allocations: 12 kB / 1.051 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.8843, allocations: 4.044 MB / 1.054 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.8843, allocations: 7.938 kB / 1.054 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.8854, allocations: 0.7781 MB / 1.055 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.8857, allocations: 168.4 kB / 1.055 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.8858, allocations: 8 kB / 1.055 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.886, allocations: 27.92 kB / 1.055 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.8861, allocations: 31.91 kB / 1.055 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.8861, allocations: 12 kB / 1.055 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004057/0.8866, allocations: 334.8 kB / 1.056 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8866, allocations: 0 / 1.056 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006803/0.8873, allocations: 140 kB / 1.056 GB, free: 11.15 MB / 0.8106 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.0001628/0.8874, allocations: 119.2 kB / 1.056 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.8888, allocations: 1.021 MB / 1.057 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8888, allocations: 4 kB / 1.057 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007905/0.8896, allocations: 0.7349 MB / 1.058 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.8905, allocations: 178.3 kB / 1.058 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.8922, allocations: 1.242 MB / 1.059 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.8927, allocations: 0.9259 MB / 1.06 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000341/0.893, allocations: 117.3 kB / 1.06 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.156e-05/0.8931, allocations: 47.38 kB / 1.06 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of SimCode: time 9.61e-07/0.8931, allocations: 0 / 1.06 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of Templates: time 0.01374/0.9069, allocations: 7.036 MB / 1.067 GB, free: 15.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches