Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.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.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001002/0.001002, allocations: 176 kB / 492.3 MB, free: 0.6367 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.496/1.496, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008842/0.0008841, allocations: 93.83 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.783e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2711, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9325/1.204, allocations: 211.7 MB / 1.419 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/1.204, allocations: 111.7 kB / 1.419 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4464/1.65, allocations: 176.6 MB / 1.592 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.125e-06/1.65, allocations: 4 kB / 1.592 GB, free: 1.504 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001391/1.651, allocations: 79.94 kB / 1.592 GB, free: 1.426 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.007849/1.658, allocations: 3.154 MB / 1.595 GB, free: 14.21 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.659, allocations: 12.03 kB / 1.595 GB, free: 14.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/1.673, allocations: 2.375 MB / 1.597 GB, free: 11.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/1.678, allocations: 2.326 MB / 1.599 GB, free: 9.449 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/1.679, allocations: 303.9 kB / 1.6 GB, free: 9.152 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.68, allocations: 383.9 kB / 1.6 GB, free: 8.777 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.692, allocations: 6.541 MB / 1.607 GB, free: 2.117 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.01e-05/1.692, allocations: 7.938 kB / 1.607 GB, free: 2.109 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004649/1.693, allocations: 168 kB / 1.607 GB, free: 1.945 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000453/1.693, allocations: 314.8 kB / 1.607 GB, free: 1.637 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009959/1.703, allocations: 5.706 MB / 1.613 GB, free: 11.93 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/1.741, allocations: 29.04 MB / 1.641 GB, free: 12.38 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/1.746, allocations: 3.218 MB / 1.644 GB, free: 8.988 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/1.748, allocations: 1.596 MB / 1.646 GB, free: 7.379 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/1.748, allocations: 130.3 kB / 1.646 GB, free: 7.234 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.748, allocations: 55.81 kB / 1.646 GB, free: 7.172 MB / 1.057 GB Notification: Performance of pre-optimization done (n=176): time 3.767e-06/1.748, allocations: 0 / 1.646 GB, free: 7.172 MB / 1.057 GB Notification: Performance of matching and sorting (n=221): time 0.06105/1.81, allocations: 20.25 MB / 1.666 GB, free: 2.855 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.81, allocations: 235.6 kB / 1.666 GB, free: 2.578 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/1.812, allocations: 1.463 MB / 1.667 GB, free: 1.105 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/1.812, allocations: 61.7 kB / 1.667 GB, free: 1.039 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.813, allocations: 1.744 MB / 1.669 GB, free: 15.27 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006869/1.814, allocations: 0.7587 MB / 1.67 GB, free: 14.5 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/1.814, allocations: 60 kB / 1.67 GB, free: 14.44 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.814, allocations: 448.5 kB / 1.67 GB, free: 14 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.817, allocations: 1.9 MB / 1.672 GB, free: 12.09 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/1.82, allocations: 3.015 MB / 1.675 GB, free: 8.57 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/1.823, allocations: 2.402 MB / 1.677 GB, free: 6.172 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/1.823, allocations: 12 kB / 1.677 GB, free: 6.16 MB / 1.089 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01877/1.842, allocations: 8.325 MB / 1.686 GB, free: 13.81 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.006945/1.849, allocations: 14.1 MB / 1.699 GB, free: 14.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.09e-05/1.849, allocations: 36 kB / 1.699 GB, free: 14.57 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02297/1.872, allocations: 4.405 MB / 1.704 GB, free: 10.15 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/1.879, allocations: 0.932 MB / 1.705 GB, free: 9.215 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/1.9, allocations: 11.37 MB / 1.716 GB, free: 13.67 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004962/1.905, allocations: 0.565 MB / 1.716 GB, free: 13.11 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004826/1.906, allocations: 167.9 kB / 1.716 GB, free: 12.94 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.906, allocations: 7.953 kB / 1.716 GB, free: 12.93 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01381/1.92, allocations: 6.727 MB / 1.723 GB, free: 6.199 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.92, allocations: 36 kB / 1.723 GB, free: 6.164 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009049/1.929, allocations: 2.599 MB / 1.725 GB, free: 3.559 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/1.935, allocations: 1.045 MB / 1.727 GB, free: 2.512 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/1.959, allocations: 9.319 MB / 1.736 GB, free: 9.051 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006356/1.966, allocations: 0.534 MB / 1.736 GB, free: 8.516 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006876/1.967, allocations: 163.9 kB / 1.736 GB, free: 8.355 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.00111/1.968, allocations: 295.9 kB / 1.737 GB, free: 8.059 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009211/1.969, allocations: 201.7 kB / 1.737 GB, free: 7.859 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02562/1.994, allocations: 7.252 MB / 1.744 GB, free: 0.5781 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.994, allocations: 24 kB / 1.744 GB, free: 0.5547 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/1.994, allocations: 8 kB / 1.744 GB, free: 0.5469 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-05/1.994, allocations: 11.95 kB / 1.744 GB, free: 0.5352 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6806/2.675, allocations: 12.52 MB / 1.756 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/2.675, allocations: 11.22 kB / 1.756 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/2.678, allocations: 0.6093 MB / 1.757 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01446/2.693, allocations: 4.228 MB / 1.761 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003903/2.693, allocations: 74.14 kB / 1.761 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/2.72, allocations: 16.39 MB / 1.777 GB, free: 311 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/2.72, allocations: 17.83 kB / 1.777 GB, free: 311 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/2.735, allocations: 7.803 MB / 1.785 GB, free: 309.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/2.737, allocations: 0.6454 MB / 1.785 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/2.737, allocations: 48.62 kB / 1.785 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/2.741, allocations: 496.7 kB / 1.786 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007024/2.741, allocations: 188.3 kB / 1.786 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/2.741, allocations: 80.92 kB / 1.786 GB, free: 309.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001712/2.743, allocations: 1.089 MB / 1.787 GB, free: 309.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.8e-07/2.743, allocations: 0.9062 kB / 1.787 GB, free: 309.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006672/2.75, allocations: 1.755 MB / 1.789 GB, free: 309.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.000385/2.75, allocations: 177.2 kB / 1.789 GB, free: 309.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01411/2.764, allocations: 8.555 MB / 1.797 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.764, allocations: 3.531 kB / 1.797 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005598/2.77, allocations: 3.084 MB / 1.8 GB, free: 308.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/2.772, allocations: 213.2 kB / 1.8 GB, free: 308.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/2.785, allocations: 6.685 MB / 1.807 GB, free: 307.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/2.788, allocations: 2.967 MB / 1.81 GB, free: 306.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005056/2.793, allocations: 1.808 MB / 1.812 GB, free: 306.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/2.793, allocations: 158.7 kB / 1.812 GB, free: 306.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.573e-06/2.793, allocations: 0 / 1.812 GB, free: 306.5 MB / 1.151 GB Notification: Performance of Templates: time 0.07285/2.866, allocations: 55.87 MB / 1.866 GB, free: 304.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches