Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 98.83 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.001293/0.001293, allocations: 177.3 kB / 15.95 MB, free: 216 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 16 kB / 0.8708 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.8283, allocations: 153.6 MB / 1.021 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01008/0.8385, allocations: 8.755 MB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.8441, allocations: 2.894 MB / 1.032 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.845, allocations: 27.81 kB / 1.032 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.8455, allocations: 182.9 kB / 1.032 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.847, allocations: 482.6 kB / 1.033 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.8482, allocations: 439.2 kB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.8499, allocations: 1.305 MB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004216/0.8541, allocations: 2.682 MB / 1.037 GB, free: 216 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.856, allocations: 0.7281 MB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.8577, allocations: 0.8647 MB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.8579, allocations: 104 kB / 1.039 GB, free: 14.51 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.8585, allocations: 215.7 kB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007408/0.8593, allocations: 0.7719 MB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.8597, allocations: 356.8 kB / 1.04 GB, free: 13.17 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.8623, allocations: 2.753 MB / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8623, allocations: 0 / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8623, allocations: 0 / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.027e-05/0.8624, allocations: 4 kB / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003151/0.8655, allocations: 1.616 MB / 1.044 GB, free: 8.738 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.8656, allocations: 11.98 kB / 1.044 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00588/0.8715, allocations: 0.9459 MB / 1.045 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.8741, allocations: 1.098 MB / 1.046 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.8742, allocations: 110.9 kB / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.8746, allocations: 148 kB / 1.047 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.8795, allocations: 2.993 MB / 1.05 GB, free: 3.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.8795, allocations: 0 / 1.05 GB, free: 3.289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.8797, allocations: 67.97 kB / 1.05 GB, free: 3.223 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/0.88, allocations: 179 kB / 1.05 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004229/0.8842, allocations: 2.596 MB / 1.052 GB, free: 456 kB / 0.795 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.01638/0.9006, allocations: 13.52 MB / 1.066 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.9025, allocations: 1.289 MB / 1.067 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.9026, allocations: 12.61 kB / 1.067 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.9026, allocations: 51.2 kB / 1.067 GB, free: 464 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/0.9026, allocations: 3.938 kB / 1.067 GB, free: 460 kB / 0.8106 GB Notification: Performance of matching and sorting (n=139): time 0.09951/1.002, allocations: 19.43 MB / 1.086 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/1.002, allocations: 72.67 kB / 1.086 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/1.004, allocations: 0.9144 MB / 1.087 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.005, allocations: 45.7 kB / 1.087 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000816/1.005, allocations: 0.7322 MB / 1.088 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007588/1.006, allocations: 489 kB / 1.088 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/1.006, allocations: 28 kB / 1.088 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003101/1.007, allocations: 418.7 kB / 1.088 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/1.01, allocations: 1.331 MB / 1.09 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/1.014, allocations: 1.647 MB / 1.091 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/1.018, allocations: 1.556 MB / 1.093 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/1.018, allocations: 4 kB / 1.093 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01297/1.031, allocations: 5.623 MB / 1.098 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/1.031, allocations: 8 kB / 1.098 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.031, allocations: 8 kB / 1.098 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008882/1.04, allocations: 2.719 MB / 1.101 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/1.041, allocations: 191.7 kB / 1.101 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0348/1.076, allocations: 24.32 MB / 1.125 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.077, allocations: 103.9 kB / 1.125 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.078, allocations: 63.94 kB / 1.125 GB, free: 3.875 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001242/1.079, allocations: 0.7277 MB / 1.126 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/1.079, allocations: 110.7 kB / 1.126 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/1.09, allocations: 5.381 MB / 1.131 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.09, allocations: 12 kB / 1.131 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.311e-05/1.09, allocations: 23.98 kB / 1.131 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/1.09, allocations: 3.984 kB / 1.131 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/1.106, allocations: 8.602 MB / 1.14 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.106, allocations: 4 kB / 1.14 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/1.107, allocations: 115.8 kB / 1.14 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008129/1.115, allocations: 2.546 MB / 1.142 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.115, allocations: 32 kB / 1.142 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03308/1.148, allocations: 21.78 MB / 1.164 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.148, allocations: 7.938 kB / 1.164 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.159, allocations: 5.285 MB / 1.169 GB, free: 6.348 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.161, allocations: 479.5 kB / 1.169 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.161, allocations: 27.98 kB / 1.169 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/1.162, allocations: 84.28 kB / 1.169 GB, free: 5.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/1.163, allocations: 121 kB / 1.169 GB, free: 5.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.887e-05/1.163, allocations: 36 kB / 1.169 GB, free: 5.598 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008876/1.164, allocations: 0.6358 MB / 1.17 GB, free: 4.965 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.164, allocations: 0 / 1.17 GB, free: 4.965 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002982/1.167, allocations: 0.7265 MB / 1.171 GB, free: 4.238 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/1.167, allocations: 139.1 kB / 1.171 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007427/1.175, allocations: 4.153 MB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.175, allocations: 4 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.18, allocations: 2.663 MB / 1.178 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.181, allocations: 179.7 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/1.188, allocations: 4.524 MB / 1.182 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.19, allocations: 1.74 MB / 1.184 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008408/1.191, allocations: 325.5 kB / 1.184 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/1.191, allocations: 55.42 kB / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of SimCode: time 1.833e-06/1.191, allocations: 0 / 1.184 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of Templates: time 0.05361/1.245, allocations: 35.98 MB / 1.219 GB, free: 2.441 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches