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.001041/0.001041, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007694/0.007694, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.492/2.492, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003708, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7958, allocations: 142.4 MB / 0.9551 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02605/0.8219, allocations: 21.79 MB / 0.9763 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.8345, allocations: 6.175 MB / 0.9824 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.8376, allocations: 83.88 kB / 0.9824 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.8397, allocations: 441.8 kB / 0.9829 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.8474, allocations: 1.54 MB / 0.9844 GB, free: 436 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.8527, allocations: 1.098 MB / 0.9854 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.8642, allocations: 8.85 MB / 0.9941 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.8775, allocations: 7.188 MB / 1.001 GB, free: 20 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/0.8825, allocations: 1.77 MB / 1.003 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005998/0.8885, allocations: 2.593 MB / 1.005 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.8899, allocations: 204 kB / 1.006 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.8937, allocations: 1.029 MB / 1.007 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003273/0.897, allocations: 1.723 MB / 1.008 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003996/0.901, allocations: 1.821 MB / 1.01 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00879/0.9099, allocations: 6.967 MB / 1.017 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9099, allocations: 0 / 1.017 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.075e-06/0.9099, allocations: 4 kB / 1.017 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002215/0.9101, allocations: 4 kB / 1.017 GB, free: 15.85 MB / 0.7794 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.007371/0.9175, allocations: 3.068 MB / 1.02 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.9176, allocations: 12.03 kB / 1.02 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006788/0.9244, allocations: 1.213 MB / 1.021 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.9295, allocations: 2.215 MB / 1.023 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.9297, allocations: 242.4 kB / 1.023 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006534/0.9304, allocations: 312 kB / 1.024 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.9425, allocations: 6.212 MB / 1.03 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.832e-05/0.9427, allocations: 15.84 kB / 1.03 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/0.9431, allocations: 139.9 kB / 1.03 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005125/0.9436, allocations: 410.3 kB / 1.03 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009623/0.9532, allocations: 4.662 MB / 1.035 GB, free: 12.98 MB / 0.795 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.04173/0.995, allocations: 29.08 MB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.9971, allocations: 1.418 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.9989, allocations: 1.485 MB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.999, allocations: 13 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.9991, allocations: 47.5 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.985e-06/0.9991, allocations: 0 / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1391/1.138, allocations: 36.32 MB / 1.102 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/1.138, allocations: 73.34 kB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.141, allocations: 1.427 MB / 1.103 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/1.141, allocations: 49.7 kB / 1.103 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.142, allocations: 1.546 MB / 1.105 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000626/1.143, allocations: 0.6123 MB / 1.105 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.143, allocations: 161.7 kB / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/1.143, allocations: 301.1 kB / 1.106 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/1.145, allocations: 1.78 MB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/1.148, allocations: 2.354 MB / 1.11 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005667/1.154, allocations: 4.383 MB / 1.114 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.154, allocations: 7.938 kB / 1.114 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01797/1.172, allocations: 8.57 MB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/1.172, allocations: 12.97 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/1.172, allocations: 16 kB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01488/1.187, allocations: 4.638 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.188, allocations: 299.5 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04454/1.233, allocations: 29.49 MB / 1.156 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.235, allocations: 143.8 kB / 1.156 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/1.236, allocations: 87.98 kB / 1.156 GB, free: 12.45 MB / 0.92 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.002642/1.238, allocations: 1.329 MB / 1.158 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/1.239, allocations: 193.7 kB / 1.158 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/1.257, allocations: 8.445 MB / 1.166 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.257, allocations: 20 kB / 1.166 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.193e-05/1.257, allocations: 24.25 kB / 1.166 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-05/1.257, allocations: 7.969 kB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/1.284, allocations: 12.84 MB / 1.179 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.284, allocations: 8 kB / 1.179 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.285, allocations: 164.6 kB / 1.179 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0143/1.299, allocations: 4.487 MB / 1.183 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/1.299, allocations: 40 kB / 1.183 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04488/1.344, allocations: 29.09 MB / 1.212 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.344, allocations: 7.938 kB / 1.212 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/1.362, allocations: 8.233 MB / 1.22 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.363, allocations: 0.6235 MB / 1.22 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.363, allocations: 36.09 kB / 1.22 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.365, allocations: 143.8 kB / 1.22 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008737/1.366, allocations: 172.8 kB / 1.221 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.366, allocations: 56 kB / 1.221 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001364/1.367, allocations: 0.951 MB / 1.222 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.367, allocations: 3.938 kB / 1.222 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003498/1.371, allocations: 1.117 MB / 1.223 GB, free: 7.254 MB / 0.9825 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.0003599/1.371, allocations: 151 kB / 1.223 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.385, allocations: 6.434 MB / 1.229 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.385, allocations: 0 / 1.229 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/1.395, allocations: 4.281 MB / 1.233 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/1.399, allocations: 0.4937 MB / 1.234 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.413, allocations: 8.448 MB / 1.242 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002971/1.416, allocations: 2.727 MB / 1.245 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001205/1.417, allocations: 388.6 kB / 1.245 GB, free: 52 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.417, allocations: 91.48 kB / 1.245 GB, free: 15.96 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.417, allocations: 0 / 1.245 GB, free: 15.96 MB / 1.014 GB Notification: Performance of Templates: time 0.6081/2.025, allocations: 56.87 MB / 1.301 GB, free: 263.9 MB / 1.014 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/jenkins/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