Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.009226/0.009226, allocations: 102 kB / 15.73 MB, free: 6.062 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.001397/0.001397, allocations: 192 kB / 16.67 MB, free: 5.973 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.628/2.628, allocations: 472.6 MB / 0.7453 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 72.08 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7974, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02414/0.8216, allocations: 22.59 MB / 1.248 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.8326, allocations: 6.24 MB / 1.254 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.8348, allocations: 95.5 kB / 1.254 GB, free: 472 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.839, allocations: 1.543 MB / 1.255 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.8432, allocations: 1.622 MB / 1.257 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.8465, allocations: 1.355 MB / 1.258 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006544/0.853, allocations: 5.943 MB / 1.264 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006923/0.86, allocations: 6.029 MB / 1.27 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.8636, allocations: 2.418 MB / 1.272 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.8676, allocations: 2.862 MB / 1.275 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.8684, allocations: 456 kB / 1.276 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.8707, allocations: 1.104 MB / 1.277 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.8726, allocations: 2.031 MB / 1.279 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.875, allocations: 2.159 MB / 1.281 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.882, allocations: 7.317 MB / 1.288 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.882, allocations: 8 kB / 1.288 GB, free: 13.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.882, allocations: 0 / 1.288 GB, free: 13.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001528/0.8822, allocations: 3.938 kB / 1.288 GB, free: 13.47 MB / 1.014 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.007323/0.8895, allocations: 3.917 MB / 1.292 GB, free: 9.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.8896, allocations: 12.03 kB / 1.292 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/0.8962, allocations: 1.22 MB / 1.293 GB, free: 8.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.9008, allocations: 2.357 MB / 1.295 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.901, allocations: 242.4 kB / 1.295 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007963/0.9018, allocations: 315.9 kB / 1.296 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009933/0.9118, allocations: 6.216 MB / 1.302 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/0.9119, allocations: 7.938 kB / 1.302 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.9122, allocations: 140 kB / 1.302 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004548/0.9127, allocations: 406.3 kB / 1.302 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007799/0.9205, allocations: 4.666 MB / 1.307 GB, free: 9.598 MB / 1.029 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.0322/0.9528, allocations: 28.99 MB / 1.335 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.9547, allocations: 1.421 MB / 1.337 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.9566, allocations: 1.495 MB / 1.338 GB, free: 6.965 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.9567, allocations: 9 kB / 1.338 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.9567, allocations: 47.56 kB / 1.338 GB, free: 6.898 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 3.105e-06/0.9567, allocations: 0 / 1.338 GB, free: 6.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=179): time 0.1468/1.104, allocations: 37.29 MB / 1.375 GB, free: 1.527 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/1.104, allocations: 69.41 kB / 1.375 GB, free: 1.445 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/1.106, allocations: 1.427 MB / 1.376 GB, free: 12 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/1.106, allocations: 61.64 kB / 1.376 GB, free: 15.95 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.107, allocations: 1.583 MB / 1.378 GB, free: 14.35 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006683/1.108, allocations: 0.6429 MB / 1.378 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007815/1.109, allocations: 383.5 kB / 1.379 GB, free: 13.32 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.109, allocations: 301.1 kB / 1.379 GB, free: 13.02 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.111, allocations: 1.788 MB / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/1.114, allocations: 2.35 MB / 1.383 GB, free: 8.629 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005668/1.12, allocations: 4.383 MB / 1.387 GB, free: 4.004 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/1.12, allocations: 4 kB / 1.387 GB, free: 4 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01801/1.138, allocations: 8.579 MB / 1.396 GB, free: 11.38 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/1.138, allocations: 12 kB / 1.396 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/1.138, allocations: 20.88 kB / 1.396 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/1.153, allocations: 4.638 MB / 1.4 GB, free: 6.699 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.155, allocations: 307.4 kB / 1.4 GB, free: 6.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06686/1.222, allocations: 32.62 MB / 1.432 GB, free: 4.926 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/1.226, allocations: 147.8 kB / 1.432 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006164/1.226, allocations: 84 kB / 1.433 GB, free: 4.699 MB / 1.154 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.00413/1.231, allocations: 1.337 MB / 1.434 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008776/1.231, allocations: 206.7 kB / 1.434 GB, free: 3.148 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03566/1.267, allocations: 8.433 MB / 1.442 GB, free: 10.67 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/1.267, allocations: 27.94 kB / 1.442 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000122/1.267, allocations: 27.94 kB / 1.442 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-05/1.267, allocations: 11.95 kB / 1.442 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04899/1.316, allocations: 12.84 MB / 1.455 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.316, allocations: 12.16 kB / 1.455 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.318, allocations: 159.8 kB / 1.455 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02563/1.344, allocations: 4.482 MB / 1.459 GB, free: 8.922 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/1.344, allocations: 36 kB / 1.459 GB, free: 8.887 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04677/1.391, allocations: 32.24 MB / 1.491 GB, free: 7.793 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.391, allocations: 8 kB / 1.491 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/1.408, allocations: 8.253 MB / 1.499 GB, free: 15.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.409, allocations: 0.6206 MB / 1.5 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/1.409, allocations: 43.98 kB / 1.5 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.411, allocations: 131.8 kB / 1.5 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007606/1.412, allocations: 169 kB / 1.5 GB, free: 14.42 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/1.412, allocations: 48 kB / 1.5 GB, free: 14.38 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001281/1.413, allocations: 0.9549 MB / 1.501 GB, free: 13.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/1.413, allocations: 0 / 1.501 GB, free: 13.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003092/1.416, allocations: 1.121 MB / 1.502 GB, free: 12.3 MB / 1.232 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.0002896/1.417, allocations: 155 kB / 1.502 GB, free: 12.14 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.429, allocations: 6.543 MB / 1.509 GB, free: 5.523 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.429, allocations: 0 / 1.509 GB, free: 5.523 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009212/1.438, allocations: 4.373 MB / 1.513 GB, free: 1.07 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.441, allocations: 0.5358 MB / 1.513 GB, free: 0.5469 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.452, allocations: 6.901 MB / 1.52 GB, free: 9.543 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/1.455, allocations: 2.727 MB / 1.523 GB, free: 6.781 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001468/1.456, allocations: 384.6 kB / 1.523 GB, free: 6.402 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.456, allocations: 95.44 kB / 1.523 GB, free: 6.309 MB / 1.248 GB Notification: Performance of SimCode: time 2.926e-06/1.457, allocations: 0 / 1.523 GB, free: 6.309 MB / 1.248 GB Notification: Performance of Templates: time 0.8323/2.289, allocations: 61.14 MB / 1.583 GB, free: 309.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches