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.001218/0.001218, allocations: 104.3 kB / 16.4 MB, free: 6.516 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.00124/0.00124, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 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.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8387, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0125/0.8513, allocations: 10.02 MB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006844/0.8582, allocations: 3.048 MB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.8596, allocations: 33.97 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.8621, allocations: 0.6713 MB / 1.102 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.8647, allocations: 0.7255 MB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.8669, allocations: 0.6562 MB / 1.103 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00479/0.8717, allocations: 2.733 MB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00433/0.8761, allocations: 2.533 MB / 1.109 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.8787, allocations: 1.139 MB / 1.11 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.882, allocations: 1.376 MB / 1.111 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.8831, allocations: 216.1 kB / 1.111 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.8854, allocations: 498.1 kB / 1.112 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.8878, allocations: 0.9782 MB / 1.113 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003189/0.891, allocations: 1.019 MB / 1.114 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006764/0.8977, allocations: 3.404 MB / 1.117 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.8978, allocations: 0 / 1.117 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8978, allocations: 1.094 kB / 1.117 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001396/0.8979, allocations: 0 / 1.117 GB, free: 6.066 MB / 0.8731 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.007979/0.9059, allocations: 1.946 MB / 1.119 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.906, allocations: 8.562 kB / 1.119 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/0.9128, allocations: 0.8883 MB / 1.12 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.9159, allocations: 1.165 MB / 1.121 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.9161, allocations: 109 kB / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008156/0.9169, allocations: 146.8 kB / 1.121 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008075/0.925, allocations: 3.018 MB / 1.124 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.277e-05/0.9251, allocations: 6.516 kB / 1.124 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/0.9256, allocations: 61.56 kB / 1.124 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000345/0.9259, allocations: 177.4 kB / 1.124 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007849/0.9338, allocations: 2.603 MB / 1.127 GB, free: 1.891 MB / 0.8731 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.02309/0.9569, allocations: 13.49 MB / 1.14 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.9594, allocations: 1.305 MB / 1.141 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.9612, allocations: 1.048 MB / 1.142 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.984e-05/0.9613, allocations: 9.594 kB / 1.142 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.9613, allocations: 41.88 kB / 1.142 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.544e-06/0.9614, allocations: 0 / 1.142 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.0777/1.039, allocations: 19.4 MB / 1.161 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.039, allocations: 66.66 kB / 1.161 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/1.041, allocations: 0.922 MB / 1.162 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/1.041, allocations: 45.67 kB / 1.162 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/1.042, allocations: 0.7268 MB / 1.163 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/1.043, allocations: 488.5 kB / 1.164 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008556/1.043, allocations: 289.5 kB / 1.164 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.044, allocations: 358.5 kB / 1.164 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/1.046, allocations: 1.334 MB / 1.165 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/1.048, allocations: 1.655 MB / 1.167 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.053, allocations: 3.093 MB / 1.17 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/1.053, allocations: 4 kB / 1.17 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01241/1.065, allocations: 5.636 MB / 1.176 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.065, allocations: 8 kB / 1.176 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/1.065, allocations: 15.94 kB / 1.176 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009099/1.074, allocations: 2.711 MB / 1.178 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/1.075, allocations: 195.7 kB / 1.178 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03661/1.112, allocations: 25.71 MB / 1.204 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.114, allocations: 91.95 kB / 1.204 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/1.114, allocations: 59.98 kB / 1.204 GB, free: 6.051 MB / 0.9356 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.001651/1.116, allocations: 0.7354 MB / 1.204 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/1.116, allocations: 114.6 kB / 1.205 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.128, allocations: 5.388 MB / 1.21 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/1.128, allocations: 12 kB / 1.21 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-05/1.128, allocations: 20 kB / 1.21 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.128, allocations: 7.969 kB / 1.21 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.146, allocations: 8.689 MB / 1.218 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.146, allocations: 4 kB / 1.218 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/1.147, allocations: 115.9 kB / 1.218 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009126/1.156, allocations: 2.6 MB / 1.221 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/1.156, allocations: 28 kB / 1.221 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03755/1.194, allocations: 24.15 MB / 1.245 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.194, allocations: 8.312 kB / 1.245 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.206, allocations: 5.256 MB / 1.25 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.207, allocations: 483.6 kB / 1.25 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/1.208, allocations: 35.92 kB / 1.25 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.209, allocations: 75.91 kB / 1.25 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006398/1.21, allocations: 129 kB / 1.25 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.21, allocations: 39.94 kB / 1.25 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001123/1.211, allocations: 0.6434 MB / 1.251 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/1.211, allocations: 0 / 1.251 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003145/1.214, allocations: 0.7227 MB / 1.252 GB, free: 3.965 MB / 0.9825 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.0003178/1.215, allocations: 127.1 kB / 1.252 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007785/1.222, allocations: 4.215 MB / 1.256 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.222, allocations: 0 / 1.256 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005654/1.228, allocations: 2.721 MB / 1.259 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/1.23, allocations: 220 kB / 1.259 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/1.238, allocations: 4.236 MB / 1.263 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/1.24, allocations: 1.735 MB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/1.24, allocations: 63.44 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of SimCode: time 7.12e-07/1.24, allocations: 0 / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Templates: time 0.06552/1.306, allocations: 60 MB / 1.323 GB, free: 10.43 MB / 1.061 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