Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_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_9_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_9_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.001138/0.001138, allocations: 115.8 kB / 16.42 MB, free: 6.441 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.001289/0.00129, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9037/0.905, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02558/0.9306, allocations: 22.59 MB / 1.111 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.9427, allocations: 6.227 MB / 1.117 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.946, allocations: 92.16 kB / 1.117 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005794/0.9518, allocations: 1.548 MB / 1.118 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005684/0.9575, allocations: 1.727 MB / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.9621, allocations: 1.353 MB / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009479/0.9716, allocations: 5.951 MB / 1.127 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01023/0.9818, allocations: 6.032 MB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/0.987, allocations: 2.455 MB / 1.135 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005917/0.993, allocations: 2.872 MB / 1.138 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.9949, allocations: 457.1 kB / 1.139 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/1.001, allocations: 1.094 MB / 1.14 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005754/1.007, allocations: 2.028 MB / 1.142 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008113/1.015, allocations: 2.165 MB / 1.144 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01643/1.032, allocations: 7.298 MB / 1.151 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/1.032, allocations: 0 / 1.151 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.455e-06/1.032, allocations: 5.156 kB / 1.151 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004634/1.032, allocations: 0 / 1.151 GB, free: 2.562 MB / 0.8887 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.01912/1.051, allocations: 3.811 MB / 1.155 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.051, allocations: 12.61 kB / 1.155 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007766/1.059, allocations: 1.213 MB / 1.156 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/1.066, allocations: 2.34 MB / 1.158 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/1.066, allocations: 242.8 kB / 1.158 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/1.068, allocations: 314.4 kB / 1.159 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/1.083, allocations: 6.215 MB / 1.165 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/1.084, allocations: 14.12 kB / 1.165 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006369/1.084, allocations: 141.4 kB / 1.165 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006148/1.085, allocations: 404.1 kB / 1.165 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009521/1.094, allocations: 4.665 MB / 1.17 GB, free: 7.16 MB / 0.9044 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.03657/1.131, allocations: 28.95 MB / 1.198 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/1.133, allocations: 1.424 MB / 1.2 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/1.135, allocations: 1.479 MB / 1.201 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.473e-05/1.135, allocations: 13 kB / 1.201 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/1.135, allocations: 47.55 kB / 1.201 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 4.038e-06/1.135, allocations: 4 kB / 1.201 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1469/1.282, allocations: 37.24 MB / 1.237 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.282, allocations: 69.41 kB / 1.238 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.285, allocations: 1.427 MB / 1.239 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003674/1.285, allocations: 53.7 kB / 1.239 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.286, allocations: 1.543 MB / 1.24 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008072/1.287, allocations: 0.6084 MB / 1.241 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008759/1.288, allocations: 379.3 kB / 1.241 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.288, allocations: 301.1 kB / 1.242 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/1.291, allocations: 1.792 MB / 1.243 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/1.293, allocations: 2.35 MB / 1.246 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005608/1.299, allocations: 4.391 MB / 1.25 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.299, allocations: 4 kB / 1.25 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01807/1.317, allocations: 8.567 MB / 1.258 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/1.317, allocations: 12 kB / 1.258 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/1.317, allocations: 20 kB / 1.258 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/1.333, allocations: 4.646 MB / 1.263 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.334, allocations: 303.4 kB / 1.263 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04898/1.383, allocations: 32.59 MB / 1.295 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/1.386, allocations: 147.8 kB / 1.295 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/1.386, allocations: 80 kB / 1.295 GB, free: 5.82 MB / 1.029 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.003006/1.389, allocations: 1.336 MB / 1.297 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007541/1.39, allocations: 201.6 kB / 1.297 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.408, allocations: 8.429 MB / 1.305 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-05/1.408, allocations: 7.969 kB / 1.305 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.408, allocations: 4 kB / 1.305 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.41, allocations: 0.6272 MB / 1.306 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007355/1.411, allocations: 35.94 kB / 1.306 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.413, allocations: 123.8 kB / 1.306 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006694/1.413, allocations: 289.4 kB / 1.306 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01705/1.431, allocations: 7.267 MB / 1.313 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008312/1.439, allocations: 6.103 MB / 1.319 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002388/1.441, allocations: 1.834 MB / 1.321 GB, free: 11.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001771/1.443, allocations: 0.9588 MB / 1.322 GB, free: 10.49 MB / 1.061 GB Notification: Performance of Backend: time 5.21e-07/1.443, allocations: 0 / 1.322 GB, free: 10.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.456, allocations: 5.228 MB / 1.327 GB, free: 5.176 MB / 1.061 GB Notification: Performance of SimCode: time 0.01565/1.472, allocations: 7.341 MB / 1.334 GB, free: 13.8 MB / 1.076 GB Notification: Performance of Templates: time 0.09389/1.566, allocations: 57.92 MB / 1.391 GB, free: 4.184 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches