Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001581/0.001581, allocations: 102.1 kB / 15.98 MB, free: 6.352 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.001487/0.001487, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.523/2.523, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 72.11 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3082, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.4691/0.7774, allocations: 22.41 MB / 1.086 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009488/0.7869, allocations: 6.189 MB / 1.092 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.7889, allocations: 85.03 kB / 1.092 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.7925, allocations: 1.418 MB / 1.094 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.797, allocations: 1.513 MB / 1.095 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.8005, allocations: 1.229 MB / 1.096 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007437/0.8079, allocations: 5.962 MB / 1.102 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.818, allocations: 7.244 MB / 1.109 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.8221, allocations: 2.452 MB / 1.112 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.8264, allocations: 3.033 MB / 1.114 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008867/0.8273, allocations: 457.4 kB / 1.115 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.8302, allocations: 1.097 MB / 1.116 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.833, allocations: 2.033 MB / 1.118 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004942/0.8379, allocations: 2.175 MB / 1.12 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009653/0.8476, allocations: 6.191 MB / 1.126 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.8476, allocations: 0.8438 kB / 1.126 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.579e-06/0.8476, allocations: 1.281 kB / 1.126 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002197/0.8479, allocations: 3.938 kB / 1.126 GB, free: 11.98 MB / 0.8575 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.01063/0.8585, allocations: 3.807 MB / 1.13 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8586, allocations: 13.94 kB / 1.13 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006251/0.8648, allocations: 1.215 MB / 1.131 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/0.8696, allocations: 2.215 MB / 1.133 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.8698, allocations: 242.8 kB / 1.133 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009418/0.8708, allocations: 318 kB / 1.134 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.8826, allocations: 6.212 MB / 1.14 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.561e-05/0.8827, allocations: 15.2 kB / 1.14 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004123/0.8831, allocations: 136.6 kB / 1.14 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005104/0.8836, allocations: 408.6 kB / 1.14 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008771/0.8924, allocations: 4.656 MB / 1.145 GB, free: 1.832 MB / 0.8575 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.03654/0.929, allocations: 29.15 MB / 1.173 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.931, allocations: 1.415 MB / 1.175 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.9329, allocations: 1.487 MB / 1.176 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.933, allocations: 20.92 kB / 1.176 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.9331, allocations: 47.56 kB / 1.176 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.855e-06/0.9331, allocations: 0 / 1.176 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1342/1.067, allocations: 37.23 MB / 1.213 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.067, allocations: 69.41 kB / 1.213 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.07, allocations: 1.435 MB / 1.214 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000397/1.07, allocations: 53.7 kB / 1.214 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.071, allocations: 1.535 MB / 1.216 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008/1.072, allocations: 0.6161 MB / 1.216 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007688/1.073, allocations: 383.3 kB / 1.217 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.073, allocations: 301.1 kB / 1.217 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/1.076, allocations: 1.784 MB / 1.219 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.079, allocations: 2.35 MB / 1.221 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006133/1.085, allocations: 4.391 MB / 1.225 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/1.085, allocations: 4 kB / 1.225 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01813/1.103, allocations: 8.567 MB / 1.234 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/1.103, allocations: 12 kB / 1.234 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/1.103, allocations: 16.91 kB / 1.234 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/1.118, allocations: 4.675 MB / 1.238 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.119, allocations: 299.5 kB / 1.238 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04955/1.169, allocations: 32.62 MB / 1.27 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/1.171, allocations: 147.8 kB / 1.27 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/1.171, allocations: 84 kB / 1.271 GB, free: 3.035 MB / 0.9825 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.002986/1.174, allocations: 1.342 MB / 1.272 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/1.175, allocations: 197.6 kB / 1.272 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/1.193, allocations: 8.429 MB / 1.28 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/1.193, allocations: 20 kB / 1.28 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.299e-05/1.193, allocations: 28.16 kB / 1.28 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/1.193, allocations: 7.969 kB / 1.28 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.219, allocations: 12.85 MB / 1.293 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/1.219, allocations: 7.984 kB / 1.293 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/1.22, allocations: 163.8 kB / 1.293 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/1.235, allocations: 4.52 MB / 1.297 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003224/1.235, allocations: 40 kB / 1.297 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04938/1.285, allocations: 32.22 MB / 1.329 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.285, allocations: 8 kB / 1.329 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.302, allocations: 8.244 MB / 1.337 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.304, allocations: 0.6156 MB / 1.338 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/1.304, allocations: 36 kB / 1.338 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.306, allocations: 135.8 kB / 1.338 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007796/1.307, allocations: 169 kB / 1.338 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.307, allocations: 48 kB / 1.338 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001403/1.308, allocations: 0.9626 MB / 1.339 GB, free: 11.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.81e-07/1.308, allocations: 4 kB / 1.339 GB, free: 11.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00366/1.312, allocations: 1.117 MB / 1.34 GB, free: 10.63 MB / 1.061 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.0003413/1.312, allocations: 150.9 kB / 1.34 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.326, allocations: 7.07 MB / 1.347 GB, free: 3.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.326, allocations: 0 / 1.347 GB, free: 3.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.009627/1.336, allocations: 4.37 MB / 1.351 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.339, allocations: 0.5203 MB / 1.352 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.353, allocations: 8.938 MB / 1.361 GB, free: 5.332 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/1.357, allocations: 2.808 MB / 1.363 GB, free: 2.488 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.357, allocations: 107.4 kB / 1.363 GB, free: 2.383 MB / 1.076 GB Notification: Performance of SimCode: time 8.92e-07/1.357, allocations: 0 / 1.363 GB, free: 2.383 MB / 1.076 GB Notification: Performance of Templates: time 0.1692/1.526, allocations: 154 MB / 1.514 GB, free: 8.289 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches