Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008904/0.008904, allocations: 96.47 kB / 15.73 MB, free: 6.051 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.001785/0.001785, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 71.88 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3984, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01518/0.4136, allocations: 10.02 MB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006932/0.4206, allocations: 3.033 MB / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.4219, allocations: 39.81 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.4242, allocations: 0.688 MB / 1.18 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.4266, allocations: 0.7235 MB / 1.181 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.4284, allocations: 0.6389 MB / 1.181 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.4321, allocations: 2.746 MB / 1.184 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.4356, allocations: 2.542 MB / 1.187 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.4378, allocations: 1.133 MB / 1.188 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.4402, allocations: 1.379 MB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007011/0.4409, allocations: 216 kB / 1.189 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.4424, allocations: 487.4 kB / 1.19 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.4438, allocations: 0.9824 MB / 1.191 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.4453, allocations: 1.023 MB / 1.192 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.4492, allocations: 3.411 MB / 1.195 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4493, allocations: 0 / 1.195 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4493, allocations: 0 / 1.195 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.796e-05/0.4494, allocations: 7.938 kB / 1.195 GB, free: 9.664 MB / 0.9512 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.003843/0.4532, allocations: 1.988 MB / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4533, allocations: 8.031 kB / 1.197 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00584/0.4591, allocations: 0.8931 MB / 1.198 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.462, allocations: 1.169 MB / 1.199 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4621, allocations: 111.3 kB / 1.199 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004289/0.4625, allocations: 148.3 kB / 1.199 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.4674, allocations: 3.017 MB / 1.202 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.4674, allocations: 3.938 kB / 1.202 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.4676, allocations: 67.97 kB / 1.202 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002909/0.4679, allocations: 179 kB / 1.202 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/0.4725, allocations: 2.604 MB / 1.205 GB, free: 15.27 MB / 0.9669 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.01907/0.4916, allocations: 13.51 MB / 1.218 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.4943, allocations: 1.297 MB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4958, allocations: 1.055 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.929e-05/0.4959, allocations: 8.656 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.496, allocations: 39.22 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.496, allocations: 0 / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.07876/0.5747, allocations: 19.42 MB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.5748, allocations: 68.72 kB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.5762, allocations: 0.9145 MB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.5764, allocations: 49.7 kB / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.5771, allocations: 0.754 MB / 1.241 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.5777, allocations: 0.4957 MB / 1.242 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/0.5783, allocations: 295.5 kB / 1.242 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5785, allocations: 349.9 kB / 1.242 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.5805, allocations: 1.335 MB / 1.244 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.5828, allocations: 1.655 MB / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004276/0.5871, allocations: 3.09 MB / 1.248 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.5871, allocations: 4 kB / 1.248 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.7125/1.3, allocations: 5.64 MB / 1.254 GB, free: 77.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.3, allocations: 12.41 kB / 1.254 GB, free: 77.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/1.3, allocations: 8.719 kB / 1.254 GB, free: 77.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009782/1.31, allocations: 2.715 MB / 1.256 GB, free: 77.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.311, allocations: 188 kB / 1.257 GB, free: 77.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04101/1.352, allocations: 25.74 MB / 1.282 GB, free: 63.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/1.353, allocations: 95.14 kB / 1.282 GB, free: 63.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/1.354, allocations: 57.8 kB / 1.282 GB, free: 63.87 MB / 0.9981 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.001477/1.355, allocations: 0.7316 MB / 1.283 GB, free: 63.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/1.355, allocations: 120.3 kB / 1.283 GB, free: 63.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.368, allocations: 5.4 MB / 1.288 GB, free: 61.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.368, allocations: 13.81 kB / 1.288 GB, free: 61.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-05/1.368, allocations: 19.45 kB / 1.288 GB, free: 61.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/1.368, allocations: 8.625 kB / 1.288 GB, free: 61.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.384, allocations: 8.697 MB / 1.296 GB, free: 58.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.385, allocations: 3.906 kB / 1.296 GB, free: 58.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/1.385, allocations: 121.6 kB / 1.297 GB, free: 58.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008276/1.393, allocations: 2.587 MB / 1.299 GB, free: 57.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/1.394, allocations: 25.06 kB / 1.299 GB, free: 57.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03206/1.426, allocations: 24.19 MB / 1.323 GB, free: 41.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.426, allocations: 3.969 kB / 1.323 GB, free: 41.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009359/1.435, allocations: 5.247 MB / 1.328 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.436, allocations: 0.4939 MB / 1.328 GB, free: 37.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.436, allocations: 28 kB / 1.328 GB, free: 37.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/1.437, allocations: 75.91 kB / 1.328 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/1.438, allocations: 125 kB / 1.329 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.438, allocations: 36.88 kB / 1.329 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006817/1.439, allocations: 0.6434 MB / 1.329 GB, free: 36.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.439, allocations: 0 / 1.329 GB, free: 36.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002749/1.441, allocations: 0.7188 MB / 1.33 GB, free: 35.8 MB / 0.9981 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.000266/1.442, allocations: 140.8 kB / 1.33 GB, free: 35.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006223/1.448, allocations: 4.223 MB / 1.334 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.448, allocations: 384 / 1.334 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/1.453, allocations: 2.739 MB / 1.337 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.454, allocations: 216.1 kB / 1.337 GB, free: 28.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/1.46, allocations: 4.029 MB / 1.341 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/1.461, allocations: 1.707 MB / 1.343 GB, free: 22.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006879/1.462, allocations: 329.4 kB / 1.343 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/1.462, allocations: 63.42 kB / 1.343 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.462, allocations: 0 / 1.343 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of Templates: time 0.05917/1.521, allocations: 40.33 MB / 1.382 GB, free: 14.06 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches