Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008604/0.008604, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001857/0.001857, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.074 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02481/0.3211, allocations: 22.62 MB / 1.23 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3329, allocations: 6.221 MB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.3355, allocations: 91.56 kB / 1.236 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.3402, allocations: 1.549 MB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.3447, allocations: 1.622 MB / 1.239 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.3484, allocations: 1.338 MB / 1.24 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007092/0.3555, allocations: 5.935 MB / 1.246 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7627/1.118, allocations: 6.049 MB / 1.252 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/1.122, allocations: 2.447 MB / 1.254 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/1.125, allocations: 2.864 MB / 1.257 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001217/1.126, allocations: 460.5 kB / 1.258 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/1.129, allocations: 1.094 MB / 1.259 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00273/1.132, allocations: 2.035 MB / 1.261 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003435/1.136, allocations: 2.17 MB / 1.263 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.147, allocations: 7.293 MB / 1.27 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.147, allocations: 0 / 1.27 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.147, allocations: 1.156 kB / 1.27 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002471/1.148, allocations: 0 / 1.27 GB, free: 9.27 MB / 0.9981 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.009602/1.157, allocations: 3.815 MB / 1.274 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.157, allocations: 14.12 kB / 1.274 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/1.164, allocations: 1.21 MB / 1.275 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/1.169, allocations: 2.336 MB / 1.277 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.169, allocations: 237.2 kB / 1.277 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006712/1.169, allocations: 318.6 kB / 1.278 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/1.182, allocations: 6.216 MB / 1.284 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.42e-05/1.182, allocations: 16.23 kB / 1.284 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/1.183, allocations: 139.3 kB / 1.284 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005252/1.183, allocations: 402.8 kB / 1.284 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008646/1.192, allocations: 4.665 MB / 1.289 GB, free: 6.137 MB / 0.9981 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.03278/1.224, allocations: 28.97 MB / 1.317 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/1.227, allocations: 1.416 MB / 1.319 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/1.228, allocations: 1.489 MB / 1.32 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/1.229, allocations: 11.69 kB / 1.32 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.229, allocations: 47.14 kB / 1.32 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=110): time 2.766e-06/1.229, allocations: 0 / 1.32 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=179): time 0.1483/1.377, allocations: 37.26 MB / 1.356 GB, free: 9.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.377, allocations: 69.41 kB / 1.357 GB, free: 9.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.379, allocations: 1.419 MB / 1.358 GB, free: 8.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000241/1.379, allocations: 53.7 kB / 1.358 GB, free: 8.246 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009549/1.38, allocations: 1.536 MB / 1.359 GB, free: 6.695 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/1.381, allocations: 0.6097 MB / 1.36 GB, free: 6.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008278/1.382, allocations: 379.3 kB / 1.36 GB, free: 5.711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.382, allocations: 309.1 kB / 1.361 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/1.385, allocations: 1.784 MB / 1.362 GB, free: 3.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/1.387, allocations: 2.353 MB / 1.365 GB, free: 1.023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005619/1.393, allocations: 4.387 MB / 1.369 GB, free: 12.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.393, allocations: 6.625 kB / 1.369 GB, free: 12.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01812/1.411, allocations: 8.563 MB / 1.377 GB, free: 4.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/1.411, allocations: 12 kB / 1.377 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.411, allocations: 20.84 kB / 1.377 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/1.427, allocations: 4.638 MB / 1.382 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.428, allocations: 304.6 kB / 1.382 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0485/1.476, allocations: 32.59 MB / 1.414 GB, free: 13.76 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.479, allocations: 147.8 kB / 1.414 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003919/1.479, allocations: 87.98 kB / 1.414 GB, free: 13.53 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.002823/1.482, allocations: 1.323 MB / 1.416 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/1.483, allocations: 201.8 kB / 1.416 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/1.501, allocations: 8.445 MB / 1.424 GB, free: 3.633 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.501, allocations: 19.98 kB / 1.424 GB, free: 3.613 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.854e-05/1.501, allocations: 24 kB / 1.424 GB, free: 3.59 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.501, allocations: 7.969 kB / 1.424 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02569/1.526, allocations: 12.84 MB / 1.437 GB, free: 6.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.527, allocations: 8 kB / 1.437 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/1.527, allocations: 164.8 kB / 1.437 GB, free: 6.586 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01463/1.542, allocations: 4.494 MB / 1.441 GB, free: 2.082 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003477/1.542, allocations: 32 kB / 1.441 GB, free: 2.051 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05196/1.594, allocations: 32.19 MB / 1.473 GB, free: 1.098 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.594, allocations: 18.27 kB / 1.473 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.613, allocations: 8.24 MB / 1.481 GB, free: 8.836 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.614, allocations: 0.6117 MB / 1.481 GB, free: 8.203 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.615, allocations: 47.92 kB / 1.481 GB, free: 8.156 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.617, allocations: 131.9 kB / 1.482 GB, free: 8.027 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009178/1.618, allocations: 175.5 kB / 1.482 GB, free: 7.863 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.618, allocations: 48 kB / 1.482 GB, free: 7.816 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001672/1.62, allocations: 0.9588 MB / 1.483 GB, free: 6.863 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.303e-06/1.62, allocations: 4 kB / 1.483 GB, free: 6.859 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0044/1.624, allocations: 1.115 MB / 1.484 GB, free: 5.746 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.0003739/1.625, allocations: 148.8 kB / 1.484 GB, free: 5.598 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.638, allocations: 6.542 MB / 1.49 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.638, allocations: 0 / 1.49 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/1.648, allocations: 4.36 MB / 1.495 GB, free: 10.6 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/1.652, allocations: 0.5154 MB / 1.495 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.667, allocations: 6.804 MB / 1.502 GB, free: 3.207 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/1.67, allocations: 2.723 MB / 1.504 GB, free: 456 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00144/1.672, allocations: 388.5 kB / 1.505 GB, free: 64 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/1.672, allocations: 95.48 kB / 1.505 GB, free: 15.96 MB / 1.201 GB Notification: Performance of SimCode: time 1.423e-06/1.672, allocations: 0 / 1.505 GB, free: 15.96 MB / 1.201 GB Notification: Performance of Templates: time 0.09981/1.772, allocations: 61.14 MB / 1.565 GB, free: 3.184 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches