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.001389/0.001389, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.978/2.978, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8155, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0303/0.8458, allocations: 22.6 MB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.8593, allocations: 6.233 MB / 1.045 GB, free: 5.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.8624, allocations: 95.5 kB / 1.046 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005054/0.8675, allocations: 1.539 MB / 1.047 GB, free: 3.988 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.8734, allocations: 1.614 MB / 1.049 GB, free: 2.367 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.8777, allocations: 1.351 MB / 1.05 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008794/0.8865, allocations: 5.947 MB / 1.056 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009338/0.8959, allocations: 6.085 MB / 1.062 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.9009, allocations: 2.411 MB / 1.064 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/0.9065, allocations: 2.862 MB / 1.067 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.9077, allocations: 456 kB / 1.067 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.9106, allocations: 1.096 MB / 1.068 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002539/0.9131, allocations: 2.027 MB / 1.07 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00332/0.9164, allocations: 2.17 MB / 1.072 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009677/0.9261, allocations: 7.245 MB / 1.08 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.379e-05/0.9262, allocations: 12 kB / 1.08 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9262, allocations: 3.938 kB / 1.08 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002813/0.9265, allocations: 0 / 1.08 GB, free: 2.559 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.01072/0.9372, allocations: 3.805 MB / 1.083 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.9373, allocations: 15.97 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006393/0.9437, allocations: 1.206 MB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.9486, allocations: 2.223 MB / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.9488, allocations: 246.3 kB / 1.087 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006903/0.9495, allocations: 312 kB / 1.087 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.9612, allocations: 6.216 MB / 1.093 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.102e-05/0.9613, allocations: 19.77 kB / 1.093 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.9617, allocations: 139.9 kB / 1.093 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005611/0.9623, allocations: 406.3 kB / 1.094 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008955/0.9713, allocations: 4.658 MB / 1.098 GB, free: 14.94 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.03764/1.009, allocations: 29.15 MB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/1.011, allocations: 1.406 MB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/1.013, allocations: 1.491 MB / 1.13 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.74e-05/1.013, allocations: 13 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/1.014, allocations: 39.56 kB / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.477e-06/1.014, allocations: 3.938 kB / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1778/1.191, allocations: 37.24 MB / 1.166 GB, free: 6.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/1.191, allocations: 69.41 kB / 1.166 GB, free: 6.707 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/1.195, allocations: 1.423 MB / 1.167 GB, free: 5.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/1.195, allocations: 57.7 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.197, allocations: 1.538 MB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009857/1.198, allocations: 0.6123 MB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009939/1.199, allocations: 383.3 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.199, allocations: 301.1 kB / 1.17 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.202, allocations: 1.784 MB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/1.207, allocations: 2.35 MB / 1.174 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009982/1.217, allocations: 4.391 MB / 1.179 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/1.217, allocations: 8 kB / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.03002/1.247, allocations: 8.555 MB / 1.187 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/1.247, allocations: 12 kB / 1.187 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/1.248, allocations: 23.94 kB / 1.187 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02478/1.272, allocations: 4.664 MB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.275, allocations: 299.5 kB / 1.192 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0831/1.358, allocations: 32.62 MB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.361, allocations: 151.8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/1.362, allocations: 80 kB / 1.224 GB, free: 10.02 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.003921/1.366, allocations: 1.341 MB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008609/1.367, allocations: 197.7 kB / 1.225 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03133/1.398, allocations: 8.433 MB / 1.234 GB, free: 16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/1.398, allocations: 20 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001292/1.398, allocations: 28.19 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/1.398, allocations: 11.95 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04764/1.446, allocations: 12.85 MB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-05/1.446, allocations: 11.98 kB / 1.246 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.447, allocations: 167.6 kB / 1.246 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6343/2.082, allocations: 4.513 MB / 1.251 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/2.082, allocations: 37.14 kB / 1.251 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04806/2.13, allocations: 32.22 MB / 1.282 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/2.13, allocations: 11.75 kB / 1.282 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/2.145, allocations: 8.238 MB / 1.29 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/2.146, allocations: 0.6223 MB / 1.291 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/2.147, allocations: 34.7 kB / 1.291 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/2.149, allocations: 140 kB / 1.291 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009179/2.15, allocations: 169.6 kB / 1.291 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/2.15, allocations: 54.55 kB / 1.291 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001352/2.151, allocations: 0.9514 MB / 1.292 GB, free: 194 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/2.151, allocations: 0 / 1.292 GB, free: 194 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003456/2.155, allocations: 1.118 MB / 1.293 GB, free: 194 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.0003165/2.155, allocations: 155.2 kB / 1.294 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01194/2.167, allocations: 7.056 MB / 1.3 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/2.167, allocations: 4.875 kB / 1.3 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008103/2.175, allocations: 4.368 MB / 1.305 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/2.178, allocations: 0.528 MB / 1.305 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/2.189, allocations: 6.88 MB / 1.312 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/2.192, allocations: 2.731 MB / 1.315 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001089/2.193, allocations: 384.5 kB / 1.315 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/2.194, allocations: 99.42 kB / 1.315 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/2.194, allocations: 0 / 1.315 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.07623/2.27, allocations: 60.5 MB / 1.374 GB, free: 115.2 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=400 -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