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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001701/0.001701, allocations: 109.3 kB / 15.7 MB, free: 132 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.002163/0.002163, allocations: 193.8 kB / 16.63 MB, free: 6.609 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.427/1.427, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 70.25 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3547, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01196/0.3667, allocations: 10.03 MB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005314/0.3721, allocations: 3.045 MB / 1.101 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.3727, allocations: 39.81 kB / 1.101 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.3745, allocations: 0.6786 MB / 1.101 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.3759, allocations: 0.6883 MB / 1.102 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3772, allocations: 0.6451 MB / 1.103 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.3798, allocations: 2.734 MB / 1.105 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.3826, allocations: 2.527 MB / 1.108 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.3843, allocations: 1.13 MB / 1.109 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.3862, allocations: 1.379 MB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.3866, allocations: 219.9 kB / 1.111 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009565/0.3875, allocations: 491.4 kB / 1.111 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3886, allocations: 0.9746 MB / 1.112 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.3897, allocations: 1.015 MB / 1.113 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.3928, allocations: 3.412 MB / 1.116 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3929, allocations: 0 / 1.116 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3929, allocations: 0 / 1.116 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.889e-05/0.3929, allocations: 0 / 1.116 GB, free: 4.363 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.003908/0.3968, allocations: 1.944 MB / 1.118 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3969, allocations: 8.031 kB / 1.118 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/0.4026, allocations: 0.8882 MB / 1.119 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.4047, allocations: 1.161 MB / 1.12 GB, free: 268 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/0.4048, allocations: 115.3 kB / 1.12 GB, free: 152 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.405, allocations: 148.3 kB / 1.12 GB, free: 4 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/0.4099, allocations: 3.021 MB / 1.123 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.41, allocations: 0 / 1.123 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.4102, allocations: 63.97 kB / 1.123 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/0.4104, allocations: 183 kB / 1.124 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.4143, allocations: 2.608 MB / 1.126 GB, free: 10.03 MB / 0.8887 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.01522/0.4296, allocations: 13.48 MB / 1.139 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.4315, allocations: 1.295 MB / 1.141 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4328, allocations: 1.05 MB / 1.142 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.4329, allocations: 12.66 kB / 1.142 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4329, allocations: 43.22 kB / 1.142 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/0.4329, allocations: 3.938 kB / 1.142 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=139): time 0.0731/0.506, allocations: 19.39 MB / 1.161 GB, free: 5.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.5062, allocations: 64.72 kB / 1.161 GB, free: 5.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.5077, allocations: 0.9261 MB / 1.162 GB, free: 4.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.5079, allocations: 45.7 kB / 1.162 GB, free: 4.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.5084, allocations: 0.7283 MB / 1.162 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.509, allocations: 492.9 kB / 1.163 GB, free: 3.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006419/0.5096, allocations: 291.4 kB / 1.163 GB, free: 2.891 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5098, allocations: 353.9 kB / 1.163 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.5117, allocations: 1.335 MB / 1.165 GB, free: 1.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.5141, allocations: 1.655 MB / 1.166 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/0.5186, allocations: 3.088 MB / 1.169 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.5187, allocations: 4 kB / 1.169 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0123/0.531, allocations: 5.646 MB / 1.175 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.531, allocations: 8 kB / 1.175 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.5311, allocations: 11.94 kB / 1.175 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00912/0.5402, allocations: 2.711 MB / 1.178 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.5412, allocations: 195.7 kB / 1.178 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03725/0.5784, allocations: 25.72 MB / 1.203 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5801, allocations: 99.89 kB / 1.203 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.5804, allocations: 52 kB / 1.203 GB, free: 9.191 MB / 0.9669 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.001374/0.5818, allocations: 0.7327 MB / 1.204 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.5822, allocations: 114.6 kB / 1.204 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.5944, allocations: 5.388 MB / 1.209 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.5945, allocations: 12 kB / 1.209 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-05/0.5946, allocations: 20 kB / 1.209 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/0.5947, allocations: 7.969 kB / 1.209 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.6129, allocations: 8.697 MB / 1.218 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.613, allocations: 8.031 kB / 1.218 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.6136, allocations: 115.8 kB / 1.218 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00937/0.623, allocations: 2.593 MB / 1.22 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/0.6233, allocations: 28 kB / 1.22 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03702/0.6604, allocations: 24.16 MB / 1.244 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.6604, allocations: 4 kB / 1.244 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.6724, allocations: 5.249 MB / 1.249 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.6735, allocations: 491.6 kB / 1.249 GB, free: 8.746 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.6739, allocations: 31.92 kB / 1.25 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.6751, allocations: 79.91 kB / 1.25 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/0.6758, allocations: 125 kB / 1.25 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6759, allocations: 36 kB / 1.25 GB, free: 8.477 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009968/0.6769, allocations: 0.6434 MB / 1.25 GB, free: 7.836 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6769, allocations: 0 / 1.25 GB, free: 7.836 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002585/0.6795, allocations: 0.7188 MB / 1.251 GB, free: 7.117 MB / 1.014 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.0003054/0.6798, allocations: 147.2 kB / 1.251 GB, free: 6.965 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007364/0.6872, allocations: 4.205 MB / 1.255 GB, free: 2.707 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6872, allocations: 3.938 kB / 1.255 GB, free: 2.703 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.6545/1.342, allocations: 2.708 MB / 1.258 GB, free: 159.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.344, allocations: 213.2 kB / 1.258 GB, free: 159.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/1.352, allocations: 3.978 MB / 1.262 GB, free: 158.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/1.354, allocations: 1.704 MB / 1.264 GB, free: 157.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001123/1.355, allocations: 326.1 kB / 1.264 GB, free: 157.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/1.355, allocations: 59.42 kB / 1.264 GB, free: 157.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.355, allocations: 0 / 1.264 GB, free: 157.4 MB / 1.014 GB Notification: Performance of Templates: time 0.07434/1.43, allocations: 39.82 MB / 1.303 GB, free: 146.1 MB / 1.014 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