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.001816/0.001816, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.0021/0.0021, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.465/2.465, allocations: 390.2 MB / 0.665 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.5 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 140.4 MB / 0.9498 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.02305/0.4183, allocations: 10 MB / 0.9595 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.4288, allocations: 3.025 MB / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.4301, allocations: 31.81 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.4334, allocations: 0.6216 MB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.4367, allocations: 0.642 MB / 0.9638 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.4395, allocations: 0.5849 MB / 0.9643 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005333/0.4448, allocations: 2.746 MB / 0.967 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008088/0.453, allocations: 3.074 MB / 0.97 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.4561, allocations: 1.141 MB / 0.9711 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.4598, allocations: 1.469 MB / 0.9726 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008677/0.4607, allocations: 216 kB / 0.9728 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.463, allocations: 487.4 kB / 0.9732 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002592/0.4657, allocations: 0.9902 MB / 0.9742 GB, free: 68 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003334/0.469, allocations: 1.012 MB / 0.9752 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006392/0.4755, allocations: 2.88 MB / 0.978 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4755, allocations: 0 / 0.978 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4756, allocations: 0 / 0.978 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.095e-05/0.4757, allocations: 0 / 0.978 GB, free: 12.16 MB / 0.7637 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.007934/0.4836, allocations: 1.936 MB / 0.9799 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.4837, allocations: 12.03 kB / 0.9799 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.4948, allocations: 0.8921 MB / 0.9808 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.4986, allocations: 1.118 MB / 0.9819 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.4989, allocations: 115.3 kB / 0.982 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.4999, allocations: 140.3 kB / 0.9821 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.5101, allocations: 3.019 MB / 0.9851 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.396e-05/0.5102, allocations: 8 kB / 0.9851 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.5107, allocations: 67.97 kB / 0.9851 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003654/0.5111, allocations: 171 kB / 0.9853 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007963/0.5191, allocations: 2.615 MB / 0.9878 GB, free: 1.871 MB / 0.7637 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.03095/0.5501, allocations: 13.57 MB / 1.001 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/0.5538, allocations: 1.293 MB / 1.002 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.5566, allocations: 1.054 MB / 1.003 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.5567, allocations: 8.656 kB / 1.003 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.5568, allocations: 43.22 kB / 1.003 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 4.509e-06/0.5568, allocations: 0 / 1.003 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=139): time 0.08686/0.6437, allocations: 19.38 MB / 1.022 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.6438, allocations: 72.66 kB / 1.022 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.6452, allocations: 0.9184 MB / 1.023 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.6455, allocations: 49.7 kB / 1.023 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.646, allocations: 0.7283 MB / 1.024 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/0.6465, allocations: 485 kB / 1.025 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000638/0.6471, allocations: 299.3 kB / 1.025 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6473, allocations: 353.9 kB / 1.025 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.6492, allocations: 1.331 MB / 1.026 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.6513, allocations: 1.662 MB / 1.028 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.6554, allocations: 3.086 MB / 1.031 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.6554, allocations: 0 / 1.031 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01183/0.6673, allocations: 5.638 MB / 1.037 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.6673, allocations: 11.98 kB / 1.037 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6674, allocations: 12.59 kB / 1.037 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009222/0.6766, allocations: 2.741 MB / 1.039 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.6775, allocations: 187.7 kB / 1.039 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03715/0.7146, allocations: 25.72 MB / 1.065 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.7162, allocations: 95.94 kB / 1.065 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/0.7164, allocations: 56.5 kB / 1.065 GB, free: 0.9336 MB / 0.8419 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.001296/0.7178, allocations: 0.7354 MB / 1.065 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.7181, allocations: 114.6 kB / 1.066 GB, free: 76 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.7298, allocations: 5.4 MB / 1.071 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.7298, allocations: 16 kB / 1.071 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/0.7299, allocations: 20 kB / 1.071 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.7299, allocations: 3.984 kB / 1.071 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.7467, allocations: 8.652 MB / 1.079 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.7468, allocations: 4 kB / 1.079 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.7473, allocations: 120.3 kB / 1.079 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4575/1.205, allocations: 2.548 MB / 1.082 GB, free: 124.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/1.205, allocations: 33.27 kB / 1.082 GB, free: 124.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/1.24, allocations: 23 MB / 1.104 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.24, allocations: 9.719 kB / 1.104 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.251, allocations: 5.123 MB / 1.109 GB, free: 113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000999/1.252, allocations: 478.4 kB / 1.11 GB, free: 112.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/1.253, allocations: 31.02 kB / 1.11 GB, free: 112.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.254, allocations: 77.03 kB / 1.11 GB, free: 112.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00066/1.255, allocations: 121.2 kB / 1.11 GB, free: 112.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.255, allocations: 35.97 kB / 1.11 GB, free: 112.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009458/1.256, allocations: 0.6439 MB / 1.111 GB, free: 112.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 3.094 kB / 1.111 GB, free: 112.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00272/1.258, allocations: 0.7209 MB / 1.112 GB, free: 112.3 MB / 0.8575 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.0002923/1.259, allocations: 142.9 kB / 1.112 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008/1.267, allocations: 4.746 MB / 1.116 GB, free: 110.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.267, allocations: 1.703 kB / 1.116 GB, free: 110.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/1.272, allocations: 2.653 MB / 1.119 GB, free: 109.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/1.274, allocations: 222.4 kB / 1.119 GB, free: 109.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/1.281, allocations: 4.948 MB / 1.124 GB, free: 106.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/1.283, allocations: 1.733 MB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/1.283, allocations: 59.88 kB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.002e-06/1.283, allocations: 0 / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.05509/1.338, allocations: 59.74 MB / 1.184 GB, free: 56.06 MB / 0.8575 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/jenkins1/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