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.001464/0.001464, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001705/0.001705, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.708/2.708, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.705/0.707, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02422/0.7313, allocations: 22.42 MB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.7429, allocations: 6.171 MB / 1.045 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.7451, allocations: 87.5 kB / 1.045 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.7492, allocations: 1.429 MB / 1.046 GB, free: 4.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.7538, allocations: 1.506 MB / 1.048 GB, free: 2.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.7573, allocations: 1.234 MB / 1.049 GB, free: 1.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007663/0.765, allocations: 5.966 MB / 1.055 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.7776, allocations: 7.248 MB / 1.062 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006388/0.7841, allocations: 2.445 MB / 1.064 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/0.7897, allocations: 3.042 MB / 1.067 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.7915, allocations: 456 kB / 1.068 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.7954, allocations: 1.096 MB / 1.069 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004189/0.7996, allocations: 2.039 MB / 1.071 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005546/0.8052, allocations: 2.167 MB / 1.073 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.8156, allocations: 7.303 MB / 1.08 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.8156, allocations: 4 kB / 1.08 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8156, allocations: 0 / 1.08 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002583/0.8159, allocations: 0 / 1.08 GB, free: 1.859 MB / 0.8262 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.0098/0.8257, allocations: 3.805 MB / 1.084 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.8258, allocations: 12.03 kB / 1.084 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/0.8319, allocations: 1.21 MB / 1.085 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.8369, allocations: 2.219 MB / 1.087 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.8371, allocations: 242.4 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006634/0.8378, allocations: 311.9 kB / 1.087 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.8494, allocations: 6.216 MB / 1.094 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/0.8496, allocations: 15.84 kB / 1.094 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/0.8499, allocations: 136 kB / 1.094 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/0.8504, allocations: 414.2 kB / 1.094 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00849/0.8589, allocations: 4.662 MB / 1.099 GB, free: 14.25 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.03629/0.8952, allocations: 29.13 MB / 1.127 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.8975, allocations: 1.42 MB / 1.128 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.8993, allocations: 1.487 MB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.8994, allocations: 13 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.8995, allocations: 47.56 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.116e-06/0.8995, allocations: 3.938 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.138/1.038, allocations: 37.23 MB / 1.166 GB, free: 6.098 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.038, allocations: 73.34 kB / 1.166 GB, free: 6.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.04, allocations: 1.423 MB / 1.168 GB, free: 4.586 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.04, allocations: 57.7 kB / 1.168 GB, free: 4.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009142/1.041, allocations: 1.535 MB / 1.169 GB, free: 2.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/1.041, allocations: 0.6161 MB / 1.17 GB, free: 2.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/1.042, allocations: 383.3 kB / 1.17 GB, free: 1.961 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/1.042, allocations: 301.1 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/1.044, allocations: 1.784 MB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/1.047, allocations: 2.35 MB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/1.053, allocations: 4.387 MB / 1.179 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/1.053, allocations: 8 kB / 1.179 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01777/1.07, allocations: 8.559 MB / 1.187 GB, free: 40 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.07, allocations: 12.94 kB / 1.187 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.071, allocations: 20 kB / 1.187 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/1.085, allocations: 4.671 MB / 1.192 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.086, allocations: 303.5 kB / 1.192 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04693/1.133, allocations: 32.6 MB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.135, allocations: 159.8 kB / 1.224 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/1.136, allocations: 87.98 kB / 1.224 GB, free: 9.324 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.002101/1.138, allocations: 1.33 MB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/1.138, allocations: 197.7 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.155, allocations: 8.437 MB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.155, allocations: 16 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.994e-05/1.155, allocations: 31.92 kB / 1.234 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/1.155, allocations: 7.969 kB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/1.179, allocations: 12.84 MB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/1.179, allocations: 8 kB / 1.247 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/1.18, allocations: 167.7 kB / 1.247 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5765/1.757, allocations: 4.514 MB / 1.251 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/1.757, allocations: 34.62 kB / 1.251 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04834/1.805, allocations: 32.22 MB / 1.283 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.805, allocations: 14.44 kB / 1.283 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/1.82, allocations: 8.246 MB / 1.291 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.822, allocations: 0.6125 MB / 1.291 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/1.822, allocations: 46.34 kB / 1.291 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.824, allocations: 134.3 kB / 1.292 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/1.824, allocations: 173.2 kB / 1.292 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.825, allocations: 52.28 kB / 1.292 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001093/1.826, allocations: 0.956 MB / 1.293 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.826, allocations: 4 kB / 1.293 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003178/1.829, allocations: 1.12 MB / 1.294 GB, free: 194.3 MB / 0.9981 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.0002996/1.829, allocations: 151.7 kB / 1.294 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.841, allocations: 7.057 MB / 1.301 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.841, allocations: 0 / 1.301 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008322/1.849, allocations: 4.366 MB / 1.305 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.852, allocations: 0.5289 MB / 1.306 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.862, allocations: 8.425 MB / 1.314 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/1.864, allocations: 2.722 MB / 1.316 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001132/1.866, allocations: 396.5 kB / 1.317 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/1.866, allocations: 95.44 kB / 1.317 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.866, allocations: 0 / 1.317 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08274/1.949, allocations: 61.11 MB / 1.377 GB, free: 112.6 MB / 0.9981 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/jenkins/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