Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001424/0.001424, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.001641, allocations: 197 kB / 16.53 MB, free: 6.664 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.613/2.613, allocations: 390.2 MB / 0.6646 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7984, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01043/0.8089, allocations: 10.03 MB / 0.9594 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00568/0.8146, allocations: 3.037 MB / 0.9623 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008043/0.8155, allocations: 41.5 kB / 0.9624 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.8175, allocations: 0.6705 MB / 0.963 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.8193, allocations: 0.6901 MB / 0.9637 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.8208, allocations: 0.6403 MB / 0.9643 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.8245, allocations: 2.744 MB / 0.967 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003541/0.828, allocations: 2.552 MB / 0.9695 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.8302, allocations: 1.122 MB / 0.9706 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.8323, allocations: 1.386 MB / 0.972 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003831/0.8327, allocations: 216.6 kB / 0.9722 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.834, allocations: 481.9 kB / 0.9726 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.8355, allocations: 0.9848 MB / 0.9736 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.8368, allocations: 1.015 MB / 0.9746 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.8403, allocations: 3.392 MB / 0.9779 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.8403, allocations: 0 / 0.9779 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8403, allocations: 0 / 0.9779 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.8404, allocations: 0 / 0.9779 GB, free: 4.801 MB / 0.7325 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.004616/0.845, allocations: 1.951 MB / 0.9798 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.8451, allocations: 12.03 kB / 0.9798 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/0.8509, allocations: 0.8766 MB / 0.9807 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.8531, allocations: 1.122 MB / 0.9818 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.8532, allocations: 115.3 kB / 0.9819 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.8535, allocations: 136.4 kB / 0.982 GB, free: 500 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.8584, allocations: 3.021 MB / 0.985 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.8584, allocations: 8 kB / 0.985 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.8586, allocations: 59.98 kB / 0.985 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.8589, allocations: 179 kB / 0.9852 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.8636, allocations: 2.608 MB / 0.9877 GB, free: 10.51 MB / 0.7481 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.01766/0.8812, allocations: 13.56 MB / 1.001 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.8832, allocations: 1.287 MB / 1.002 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.8845, allocations: 1.05 MB / 1.003 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.095e-05/0.8846, allocations: 12.64 kB / 1.003 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.8846, allocations: 51.16 kB / 1.003 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 3.387e-06/0.8846, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07364/0.9583, allocations: 19.38 MB / 1.022 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.9583, allocations: 64.72 kB / 1.022 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.9596, allocations: 0.9183 MB / 1.023 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.9597, allocations: 49.69 kB / 1.023 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.9602, allocations: 0.7283 MB / 1.024 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.9606, allocations: 489 kB / 1.024 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005616/0.9612, allocations: 287.5 kB / 1.025 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9614, allocations: 357.9 kB / 1.025 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.9632, allocations: 1.335 MB / 1.026 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.9652, allocations: 1.662 MB / 1.028 GB, free: 15.86 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.9693, allocations: 3.096 MB / 1.031 GB, free: 12.64 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.9693, allocations: 0 / 1.031 GB, free: 12.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01155/0.9809, allocations: 5.641 MB / 1.037 GB, free: 6.977 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.981, allocations: 10.19 kB / 1.037 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.981, allocations: 11.94 kB / 1.037 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008882/0.9899, allocations: 2.734 MB / 1.039 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.9908, allocations: 187.7 kB / 1.039 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03616/1.027, allocations: 25.73 MB / 1.064 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.029, allocations: 99.95 kB / 1.065 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/1.029, allocations: 56.5 kB / 1.065 GB, free: 9.578 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001179/1.03, allocations: 0.7354 MB / 1.065 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/1.03, allocations: 114.6 kB / 1.065 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/1.041, allocations: 5.392 MB / 1.071 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.041, allocations: 16 kB / 1.071 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/1.041, allocations: 16 kB / 1.071 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.041, allocations: 11.97 kB / 1.071 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.059, allocations: 8.644 MB / 1.079 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/1.059, allocations: 4 kB / 1.079 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/1.059, allocations: 115.8 kB / 1.079 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008612/1.068, allocations: 2.569 MB / 1.082 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/1.068, allocations: 24 kB / 1.082 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03285/1.101, allocations: 23.02 MB / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.101, allocations: 4 kB / 1.104 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.112, allocations: 5.13 MB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.113, allocations: 479.6 kB / 1.11 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/1.113, allocations: 28 kB / 1.11 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/1.114, allocations: 75.91 kB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/1.115, allocations: 124.9 kB / 1.11 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.115, allocations: 36 kB / 1.11 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009025/1.116, allocations: 0.6474 MB / 1.111 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.116, allocations: 0 / 1.111 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002376/1.118, allocations: 0.7227 MB / 1.111 GB, free: 8.836 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/1.119, allocations: 135.1 kB / 1.112 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007985/1.127, allocations: 4.735 MB / 1.116 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.127, allocations: 0 / 1.116 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/1.132, allocations: 2.651 MB / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.134, allocations: 233.6 kB / 1.119 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006245/1.14, allocations: 3.93 MB / 1.123 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/1.141, allocations: 1.704 MB / 1.124 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007389/1.142, allocations: 325.5 kB / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/1.142, allocations: 55.44 kB / 1.125 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/1.142, allocations: 0 / 1.125 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of Templates: time 0.05619/1.198, allocations: 38.98 MB / 1.163 GB, free: 4.059 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches