Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.001436/0.001436, allocations: 195 kB / 16.91 MB, free: 6.184 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.39 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.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.97 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3045, allocations: 159.2 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01257/0.3171, allocations: 9.979 MB / 1.074 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.3223, allocations: 3.033 MB / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.3227, allocations: 27.88 kB / 1.077 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.3244, allocations: 0.6302 MB / 1.077 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3256, allocations: 0.642 MB / 1.078 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3268, allocations: 0.5811 MB / 1.079 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.4692/0.796, allocations: 2.742 MB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.8008, allocations: 3.06 MB / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.8029, allocations: 1.148 MB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.8049, allocations: 1.466 MB / 1.087 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.8053, allocations: 220.8 kB / 1.087 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.8063, allocations: 488.5 kB / 1.088 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.8075, allocations: 0.9821 MB / 1.089 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.8086, allocations: 1.016 MB / 1.09 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.8121, allocations: 2.88 MB / 1.092 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8121, allocations: 4 kB / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8121, allocations: 0 / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.886e-05/0.8122, allocations: 1 kB / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003888/0.8161, allocations: 1.946 MB / 1.094 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8161, allocations: 13.38 kB / 1.094 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005476/0.8216, allocations: 0.8809 MB / 1.095 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.8236, allocations: 1.121 MB / 1.096 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.8237, allocations: 110.5 kB / 1.096 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.8239, allocations: 144.3 kB / 1.096 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.8288, allocations: 3.01 MB / 1.099 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.8288, allocations: 9.625 kB / 1.099 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.829, allocations: 62.66 kB / 1.099 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.8293, allocations: 176.3 kB / 1.1 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00402/0.8333, allocations: 2.607 MB / 1.102 GB, free: 7.035 MB / 0.8419 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.01479/0.8481, allocations: 13.58 MB / 1.115 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.8502, allocations: 1.298 MB / 1.117 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.8517, allocations: 1.058 MB / 1.118 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.8517, allocations: 13.69 kB / 1.118 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.8518, allocations: 39.39 kB / 1.118 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.8518, allocations: 0 / 1.118 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139): time 0.06799/0.9198, allocations: 19.39 MB / 1.137 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.9199, allocations: 65.72 kB / 1.137 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.9214, allocations: 0.9138 MB / 1.138 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.9217, allocations: 50.33 kB / 1.138 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.9222, allocations: 0.7275 MB / 1.138 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/0.9228, allocations: 490.6 kB / 1.139 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005897/0.9234, allocations: 289.7 kB / 1.139 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.9235, allocations: 359.2 kB / 1.14 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.9255, allocations: 1.338 MB / 1.141 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.9277, allocations: 1.658 MB / 1.142 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.9318, allocations: 3.088 MB / 1.145 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.9318, allocations: 2.75 kB / 1.145 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01127/0.9431, allocations: 5.636 MB / 1.151 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.9431, allocations: 15.78 kB / 1.151 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.9431, allocations: 8.5 kB / 1.151 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008678/0.9518, allocations: 2.736 MB / 1.154 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.9527, allocations: 191.7 kB / 1.154 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03694/0.9897, allocations: 25.74 MB / 1.179 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.9915, allocations: 91.95 kB / 1.179 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.9917, allocations: 59.98 kB / 1.179 GB, free: 0.6719 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001542/0.9932, allocations: 0.7336 MB / 1.18 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.9935, allocations: 114.6 kB / 1.18 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.005, allocations: 5.392 MB / 1.185 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.005, allocations: 12 kB / 1.185 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/1.005, allocations: 20 kB / 1.185 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/1.005, allocations: 7.969 kB / 1.185 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/1.021, allocations: 8.641 MB / 1.194 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.022, allocations: 4 kB / 1.194 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/1.022, allocations: 119.8 kB / 1.194 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008377/1.03, allocations: 2.56 MB / 1.196 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/1.031, allocations: 31.94 kB / 1.196 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03391/1.065, allocations: 23 MB / 1.219 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.065, allocations: 8.312 kB / 1.219 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.076, allocations: 5.13 MB / 1.224 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.077, allocations: 471.6 kB / 1.224 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/1.077, allocations: 31.94 kB / 1.224 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/1.078, allocations: 83.89 kB / 1.224 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/1.078, allocations: 121 kB / 1.225 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.078, allocations: 40 kB / 1.225 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008717/1.079, allocations: 0.6356 MB / 1.225 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.079, allocations: 0 / 1.225 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002783/1.082, allocations: 0.7266 MB / 1.226 GB, free: 12 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/1.082, allocations: 141.6 kB / 1.226 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008054/1.091, allocations: 4.742 MB / 1.231 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.091, allocations: 0 / 1.231 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/1.096, allocations: 2.661 MB / 1.233 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.097, allocations: 219.4 kB / 1.233 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/1.105, allocations: 4.952 MB / 1.238 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/1.107, allocations: 1.727 MB / 1.24 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/1.107, allocations: 63.44 kB / 1.24 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of SimCode: time 1.142e-06/1.107, allocations: 0 / 1.24 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.06798/1.175, allocations: 59.74 MB / 1.298 GB, free: 5.617 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches