Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 103.6 kB / 16.4 MB, free: 5.977 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.001518/0.001518, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.592/2.592, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8894, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0257/0.9151, allocations: 22.61 MB / 1.189 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.9265, allocations: 6.229 MB / 1.195 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.9285, allocations: 95.5 kB / 1.196 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004406/0.933, allocations: 1.549 MB / 1.197 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.9377, allocations: 1.719 MB / 1.199 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.9414, allocations: 1.346 MB / 1.2 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007177/0.9486, allocations: 5.951 MB / 1.206 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00889/0.9575, allocations: 6.046 MB / 1.212 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.9619, allocations: 2.446 MB / 1.214 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004641/0.9666, allocations: 2.87 MB / 1.217 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.968, allocations: 460 kB / 1.217 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.9712, allocations: 1.1 MB / 1.218 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003088/0.9743, allocations: 2.027 MB / 1.22 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003932/0.9782, allocations: 2.163 MB / 1.223 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008798/0.987, allocations: 7.29 MB / 1.23 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.9871, allocations: 7.938 kB / 1.23 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9871, allocations: 3.938 kB / 1.23 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002079/0.9873, allocations: 0 / 1.23 GB, free: 3.691 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00876/0.9961, allocations: 3.82 MB / 1.233 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9961, allocations: 12.03 kB / 1.233 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/1.002, allocations: 1.213 MB / 1.235 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005058/1.007, allocations: 2.344 MB / 1.237 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.007, allocations: 238.4 kB / 1.237 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000833/1.008, allocations: 315.8 kB / 1.237 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/1.019, allocations: 6.216 MB / 1.244 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/1.019, allocations: 7.938 kB / 1.244 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/1.02, allocations: 143.9 kB / 1.244 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004767/1.02, allocations: 402.3 kB / 1.244 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008744/1.029, allocations: 4.662 MB / 1.249 GB, free: 15.95 MB / 0.9825 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.0339/1.063, allocations: 28.95 MB / 1.277 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/1.065, allocations: 1.412 MB / 1.278 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/1.067, allocations: 1.495 MB / 1.28 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.163e-05/1.067, allocations: 9 kB / 1.28 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.067, allocations: 47.56 kB / 1.28 GB, free: 13.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 2.765e-06/1.067, allocations: 0 / 1.28 GB, free: 13.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.132/1.199, allocations: 37.25 MB / 1.316 GB, free: 7.965 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.199, allocations: 69.41 kB / 1.316 GB, free: 7.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.201, allocations: 1.435 MB / 1.318 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.202, allocations: 53.7 kB / 1.318 GB, free: 6.383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009707/1.202, allocations: 1.538 MB / 1.319 GB, free: 4.828 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006583/1.203, allocations: 0.6045 MB / 1.32 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008417/1.204, allocations: 379.3 kB / 1.32 GB, free: 3.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.204, allocations: 305.1 kB / 1.32 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/1.207, allocations: 1.784 MB / 1.322 GB, free: 1.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/1.209, allocations: 2.35 MB / 1.324 GB, free: 15.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/1.215, allocations: 4.387 MB / 1.329 GB, free: 10.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/1.215, allocations: 4 kB / 1.329 GB, free: 10.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01722/1.232, allocations: 8.566 MB / 1.337 GB, free: 1.906 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.232, allocations: 15.94 kB / 1.337 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/1.232, allocations: 20.91 kB / 1.337 GB, free: 1.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/1.247, allocations: 4.637 MB / 1.342 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.248, allocations: 303.5 kB / 1.342 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04531/1.293, allocations: 32.58 MB / 1.374 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.295, allocations: 147.8 kB / 1.374 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/1.296, allocations: 84 kB / 1.374 GB, free: 11.25 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002228/1.298, allocations: 1.337 MB / 1.375 GB, free: 9.906 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/1.298, allocations: 193.7 kB / 1.375 GB, free: 9.715 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01741/1.316, allocations: 8.445 MB / 1.384 GB, free: 1.223 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.316, allocations: 20 kB / 1.384 GB, free: 1.203 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.198e-05/1.316, allocations: 31.88 kB / 1.384 GB, free: 1.172 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/1.316, allocations: 7.969 kB / 1.384 GB, free: 1.164 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.343, allocations: 12.84 MB / 1.396 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/1.343, allocations: 12.16 kB / 1.396 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/1.343, allocations: 159.8 kB / 1.396 GB, free: 3.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01421/1.358, allocations: 4.489 MB / 1.401 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000328/1.358, allocations: 36 kB / 1.401 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04861/1.407, allocations: 32.2 MB / 1.432 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.407, allocations: 8.375 kB / 1.432 GB, free: 14.38 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.424, allocations: 8.236 MB / 1.44 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.426, allocations: 0.6195 MB / 1.441 GB, free: 5.379 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/1.427, allocations: 36 kB / 1.441 GB, free: 5.344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.428, allocations: 143.8 kB / 1.441 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008169/1.429, allocations: 165 kB / 1.441 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.429, allocations: 44 kB / 1.441 GB, free: 4.996 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001559/1.431, allocations: 0.9665 MB / 1.442 GB, free: 4.035 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/1.431, allocations: 0 / 1.442 GB, free: 4.035 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003769/1.435, allocations: 1.117 MB / 1.443 GB, free: 2.918 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003622/1.435, allocations: 155 kB / 1.444 GB, free: 2.758 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.447, allocations: 6.528 MB / 1.45 GB, free: 12.15 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.447, allocations: 4 kB / 1.45 GB, free: 12.15 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00906/1.456, allocations: 4.358 MB / 1.454 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.46, allocations: 0.528 MB / 1.455 GB, free: 7.191 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.474, allocations: 7.316 MB / 1.462 GB, free: 15.78 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.478, allocations: 2.808 MB / 1.465 GB, free: 12.93 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/1.478, allocations: 107.4 kB / 1.465 GB, free: 12.83 MB / 1.201 GB Notification: Performance of SimCode: time 8.12e-07/1.478, allocations: 0 / 1.465 GB, free: 12.83 MB / 1.201 GB Notification: Performance of Templates: time 0.7881/2.266, allocations: 154.2 MB / 1.615 GB, free: 325.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches