Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108 kB / 16.41 MB, free: 6.492 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.001177/0.001178, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.812, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02613/0.8381, allocations: 22.6 MB / 1.111 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.8508, allocations: 6.225 MB / 1.117 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.8535, allocations: 96.38 kB / 1.117 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.8583, allocations: 1.538 MB / 1.118 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.8634, allocations: 1.623 MB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.8681, allocations: 1.35 MB / 1.121 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009261/0.8774, allocations: 5.945 MB / 1.127 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009996/0.8874, allocations: 6.043 MB / 1.133 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/0.8929, allocations: 2.448 MB / 1.135 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006315/0.8993, allocations: 2.876 MB / 1.138 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.9014, allocations: 457.8 kB / 1.139 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.9059, allocations: 1.097 MB / 1.14 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004435/0.9104, allocations: 2.024 MB / 1.142 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006282/0.9167, allocations: 2.168 MB / 1.144 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.9294, allocations: 7.296 MB / 1.151 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.9294, allocations: 0 / 1.151 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9295, allocations: 0 / 1.151 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002581/0.9297, allocations: 0 / 1.151 GB, free: 2.633 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01136/0.9411, allocations: 3.811 MB / 1.155 GB, free: 20 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9411, allocations: 14.05 kB / 1.155 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.9485, allocations: 1.216 MB / 1.156 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/0.9544, allocations: 2.341 MB / 1.158 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.9547, allocations: 238.8 kB / 1.158 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.9562, allocations: 314.3 kB / 1.159 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.9709, allocations: 6.214 MB / 1.165 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-05/0.971, allocations: 17.34 kB / 1.165 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/0.9715, allocations: 142.4 kB / 1.165 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005384/0.972, allocations: 408 kB / 1.165 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009626/0.9817, allocations: 4.662 MB / 1.17 GB, free: 7.223 MB / 0.9044 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.03548/1.017, allocations: 28.95 MB / 1.198 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/1.019, allocations: 1.416 MB / 1.199 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/1.021, allocations: 1.487 MB / 1.201 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/1.021, allocations: 9 kB / 1.201 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.021, allocations: 47.55 kB / 1.201 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.607e-06/1.021, allocations: 0 / 1.201 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1462/1.168, allocations: 37.24 MB / 1.237 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.168, allocations: 69.41 kB / 1.237 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/1.17, allocations: 1.423 MB / 1.239 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.17, allocations: 57.7 kB / 1.239 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.171, allocations: 1.543 MB / 1.24 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006689/1.172, allocations: 0.6045 MB / 1.241 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.173, allocations: 383.3 kB / 1.241 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.173, allocations: 305.1 kB / 1.242 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/1.176, allocations: 1.792 MB / 1.243 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/1.179, allocations: 2.346 MB / 1.246 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005647/1.185, allocations: 4.387 MB / 1.25 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/1.185, allocations: 4 kB / 1.25 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01816/1.203, allocations: 8.575 MB / 1.258 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/1.203, allocations: 16.06 kB / 1.258 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/1.203, allocations: 20 kB / 1.258 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/1.218, allocations: 4.635 MB / 1.263 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.219, allocations: 307.5 kB / 1.263 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04872/1.268, allocations: 32.59 MB / 1.295 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.271, allocations: 151.8 kB / 1.295 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/1.271, allocations: 84 kB / 1.295 GB, free: 5.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002681/1.274, allocations: 1.333 MB / 1.297 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.274, allocations: 197.6 kB / 1.297 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/1.292, allocations: 8.433 MB / 1.305 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.292, allocations: 23.98 kB / 1.305 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.951e-05/1.292, allocations: 27.94 kB / 1.305 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/1.292, allocations: 7.969 kB / 1.305 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.318, allocations: 12.85 MB / 1.318 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.319, allocations: 4 kB / 1.318 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/1.319, allocations: 167.8 kB / 1.318 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/1.334, allocations: 4.489 MB / 1.322 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/1.334, allocations: 36 kB / 1.322 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04692/1.381, allocations: 32.19 MB / 1.354 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/1.381, allocations: 11.94 kB / 1.354 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.398, allocations: 8.236 MB / 1.362 GB, free: 0.707 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.399, allocations: 0.6156 MB / 1.362 GB, free: 72 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007106/1.4, allocations: 40 kB / 1.362 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.402, allocations: 131.8 kB / 1.362 GB, free: 15.9 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008035/1.403, allocations: 172.9 kB / 1.363 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.403, allocations: 48 kB / 1.363 GB, free: 15.68 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00163/1.405, allocations: 0.9627 MB / 1.364 GB, free: 14.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.405, allocations: 0 / 1.364 GB, free: 14.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004007/1.409, allocations: 1.117 MB / 1.365 GB, free: 13.61 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003723/1.409, allocations: 153.2 kB / 1.365 GB, free: 13.45 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.422, allocations: 6.543 MB / 1.371 GB, free: 6.836 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.422, allocations: 0 / 1.371 GB, free: 6.836 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.01011/1.432, allocations: 4.366 MB / 1.375 GB, free: 2.387 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.436, allocations: 0.5183 MB / 1.376 GB, free: 1.879 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.452, allocations: 7.306 MB / 1.383 GB, free: 10.46 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004923/1.457, allocations: 2.804 MB / 1.386 GB, free: 7.625 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/1.458, allocations: 111.4 kB / 1.386 GB, free: 7.516 MB / 1.123 GB Notification: Performance of SimCode: time 8.71e-07/1.458, allocations: 0 / 1.386 GB, free: 7.516 MB / 1.123 GB Notification: Performance of Templates: time 0.165/1.623, allocations: 154.2 MB / 1.537 GB, free: 13.21 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches