Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001152/0.001152, allocations: 177.2 kB / 498.1 MB, free: 5.742 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.547/1.547, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.000863/0.0008626, allocations: 88.39 kB / 0.9346 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003816, allocations: 11.39 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.344, allocations: 211.1 MB / 1.429 GB, free: 95.36 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003827/1.345, allocations: 115.2 kB / 1.429 GB, free: 95.36 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3783/1.723, allocations: 159 MB / 1.584 GB, free: 45.12 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.166e-06/1.723, allocations: 0 / 1.584 GB, free: 45.12 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000234/1.723, allocations: 76 kB / 1.585 GB, free: 45.05 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01306/1.736, allocations: 3.195 MB / 1.588 GB, free: 41.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.736, allocations: 8.031 kB / 1.588 GB, free: 41.88 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003299/1.74, allocations: 0.5587 MB / 1.588 GB, free: 41.31 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/1.754, allocations: 2.137 MB / 1.59 GB, free: 39.17 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007781/1.761, allocations: 2.252 MB / 1.592 GB, free: 36.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/1.762, allocations: 283.3 kB / 1.593 GB, free: 36.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/1.764, allocations: 355.9 kB / 1.593 GB, free: 36.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02357/1.788, allocations: 6.683 MB / 1.6 GB, free: 29.44 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/1.788, allocations: 7.984 kB / 1.6 GB, free: 29.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00202/1.79, allocations: 156 kB / 1.6 GB, free: 29.28 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006562/1.791, allocations: 302.2 kB / 1.6 GB, free: 28.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/1.809, allocations: 6.522 MB / 1.606 GB, free: 22.45 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04632/1.855, allocations: 28.23 MB / 1.634 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/1.865, allocations: 4.245 MB / 1.638 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/1.865, allocations: 131.1 kB / 1.638 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.506e-05/1.865, allocations: 72.45 kB / 1.638 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=198): time 6.322e-06/1.865, allocations: 0 / 1.638 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of matching and sorting (n=255): time 0.106/1.972, allocations: 28.41 MB / 1.666 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/1.972, allocations: 239.6 kB / 1.666 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/1.974, allocations: 1.288 MB / 1.668 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007903/1.975, allocations: 65.7 kB / 1.668 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.976, allocations: 1.551 MB / 1.669 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/1.978, allocations: 0.8704 MB / 1.67 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/1.978, allocations: 60 kB / 1.67 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.978, allocations: 432.4 kB / 1.67 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005724/1.984, allocations: 2.531 MB / 1.673 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006624/1.991, allocations: 3.438 MB / 1.676 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/1.997, allocations: 2.969 MB / 1.679 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/1.997, allocations: 8 kB / 1.679 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02278/2.02, allocations: 8.83 MB / 1.688 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005435/2.025, allocations: 10.8 MB / 1.698 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-05/2.026, allocations: 31.94 kB / 1.698 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02801/2.054, allocations: 6.659 MB / 1.705 GB, free: 13.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005101/2.059, allocations: 0.8735 MB / 1.706 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/2.082, allocations: 14.05 MB / 1.719 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/2.087, allocations: 0.5223 MB / 1.72 GB, free: 13.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006568/2.087, allocations: 191.9 kB / 1.72 GB, free: 13.64 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/2.088, allocations: 4 kB / 1.72 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02059/2.108, allocations: 8.112 MB / 1.728 GB, free: 5.465 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/2.108, allocations: 28 kB / 1.728 GB, free: 5.438 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/2.122, allocations: 3.209 MB / 1.731 GB, free: 2.223 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/2.128, allocations: 1.041 MB / 1.732 GB, free: 1.18 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/2.146, allocations: 11.55 MB / 1.744 GB, free: 5.496 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/2.151, allocations: 0.499 MB / 1.744 GB, free: 4.996 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/2.152, allocations: 191.9 kB / 1.744 GB, free: 4.809 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (302): * Single equations (assignments): 300 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.004296/2.156, allocations: 1.616 MB / 1.746 GB, free: 3.18 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007138/2.157, allocations: 193.7 kB / 1.746 GB, free: 2.988 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/2.178, allocations: 8.56 MB / 1.754 GB, free: 10.38 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/2.178, allocations: 28 kB / 1.754 GB, free: 10.35 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/2.178, allocations: 12 kB / 1.754 GB, free: 10.34 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/2.178, allocations: 15.95 kB / 1.754 GB, free: 10.32 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/2.211, allocations: 13.67 MB / 1.768 GB, free: 12.48 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/2.211, allocations: 8 kB / 1.768 GB, free: 12.48 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/2.214, allocations: 0.62 MB / 1.768 GB, free: 11.86 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02701/2.241, allocations: 6.476 MB / 1.775 GB, free: 5.367 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008212/2.242, allocations: 83.92 kB / 1.775 GB, free: 5.285 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/2.263, allocations: 13.61 MB / 1.788 GB, free: 7.5 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/2.263, allocations: 11.94 kB / 1.788 GB, free: 7.488 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/2.284, allocations: 8.505 MB / 1.796 GB, free: 14.71 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002641/2.287, allocations: 0.7327 MB / 1.797 GB, free: 13.96 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/2.287, allocations: 56 kB / 1.797 GB, free: 13.91 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/2.29, allocations: 483.1 kB / 1.798 GB, free: 13.43 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005788/2.291, allocations: 205.9 kB / 1.798 GB, free: 13.23 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/2.291, allocations: 123.9 kB / 1.798 GB, free: 13.11 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001739/2.293, allocations: 1.012 MB / 1.799 GB, free: 12.1 MB / 1.104 GB Notification: Performance of sort global known variables: time 3.6e-07/2.293, allocations: 4 kB / 1.799 GB, free: 12.09 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.006332/2.299, allocations: 1.648 MB / 1.801 GB, free: 10.45 MB / 1.104 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 156 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0238/2.323, allocations: 12.15 MB / 1.812 GB, free: 14.03 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.02609/2.349, allocations: 10.69 MB / 1.823 GB, free: 3.309 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/2.349, allocations: 4.938 kB / 1.823 GB, free: 3.305 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.009297/2.359, allocations: 3.661 MB / 1.826 GB, free: 15.63 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/2.361, allocations: 202 kB / 1.827 GB, free: 15.43 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7562/3.117, allocations: 48.13 MB / 1.874 GB, free: 332.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004638/3.121, allocations: 2.866 MB / 1.876 GB, free: 332 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005288/3.127, allocations: 1.652 MB / 1.878 GB, free: 332 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/3.129, allocations: 1.214 MB / 1.879 GB, free: 332 MB / 1.151 GB Notification: Performance of SimCode: time 2.755e-06/3.129, allocations: 2.938 kB / 1.879 GB, free: 332 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/3.271, allocations: 81.8 MB / 1.959 GB, free: 322.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/3.271, allocations: 272.3 kB / 1.959 GB, free: 322.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.571/6.842, allocations: 3.5 kB / 1.959 GB, free: 322.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat does not exist to compare? outputFormat=mat