Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_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_9_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_9_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.001646/0.001646, allocations: 100.1 kB / 15.88 MB, free: 12 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.001858/0.001858, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6537/0.6551, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009466/0.6646, allocations: 9.992 MB / 0.9593 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.6698, allocations: 3.047 MB / 0.9623 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008758/0.6707, allocations: 33.16 kB / 0.9624 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.6725, allocations: 0.631 MB / 0.963 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.6744, allocations: 0.6482 MB / 0.9636 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.676, allocations: 0.583 MB / 0.9642 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.6808, allocations: 4.073 MB / 0.9682 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00515/0.6859, allocations: 2.812 MB / 0.9709 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.6884, allocations: 0.9535 MB / 0.9718 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.6911, allocations: 1.428 MB / 0.9732 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.6916, allocations: 149.4 kB / 0.9734 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.693, allocations: 0.4965 MB / 0.9739 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.694, allocations: 0.918 MB / 0.9747 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.6952, allocations: 0.9346 MB / 0.9757 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.6977, allocations: 2.865 MB / 0.9785 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6977, allocations: 12 kB / 0.9785 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.153e-06/0.6977, allocations: 0 / 0.9785 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.274e-05/0.6978, allocations: 0 / 0.9785 GB, free: 4.508 MB / 0.7325 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.003367/0.7012, allocations: 1.94 MB / 0.9804 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7012, allocations: 8.031 kB / 0.9804 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/0.7067, allocations: 0.8805 MB / 0.9812 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.709, allocations: 1.126 MB / 0.9823 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.7091, allocations: 107.3 kB / 0.9824 GB, free: 348 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.7094, allocations: 152.3 kB / 0.9826 GB, free: 196 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.7143, allocations: 3.013 MB / 0.9855 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.7144, allocations: 3.938 kB / 0.9855 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.7146, allocations: 63.97 kB / 0.9856 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/0.7148, allocations: 179 kB / 0.9858 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/0.7187, allocations: 2.608 MB / 0.9883 GB, free: 10.22 MB / 0.7481 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.01655/0.7353, allocations: 13.56 MB / 1.002 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.7373, allocations: 1.3 MB / 1.003 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.7386, allocations: 1.047 MB / 1.004 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.7387, allocations: 8.656 kB / 1.004 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7388, allocations: 47.22 kB / 1.004 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/0.7388, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07011/0.8089, allocations: 19.39 MB / 1.023 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.809, allocations: 64.72 kB / 1.023 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.8105, allocations: 0.9221 MB / 1.024 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.8107, allocations: 49.69 kB / 1.024 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/0.8112, allocations: 0.7322 MB / 1.025 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000551/0.8118, allocations: 485 kB / 1.025 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.8124, allocations: 295.4 kB / 1.025 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8126, allocations: 353.9 kB / 1.026 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.8146, allocations: 1.335 MB / 1.027 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.8168, allocations: 1.662 MB / 1.029 GB, free: 15.55 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.821, allocations: 3.088 MB / 1.032 GB, free: 12.35 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.8211, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01201/0.8331, allocations: 5.632 MB / 1.037 GB, free: 6.684 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.8332, allocations: 13.25 kB / 1.037 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.8332, allocations: 11.94 kB / 1.037 GB, free: 6.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009045/0.8423, allocations: 2.72 MB / 1.04 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/0.8432, allocations: 187.7 kB / 1.04 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03457/0.8778, allocations: 23.35 MB / 1.063 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.8792, allocations: 95.89 kB / 1.063 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.8795, allocations: 56 kB / 1.063 GB, free: 11.69 MB / 0.8262 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.001284/0.8808, allocations: 0.7315 MB / 1.064 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.8812, allocations: 118.5 kB / 1.064 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.8924, allocations: 5.4 MB / 1.069 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.8924, allocations: 12 kB / 1.069 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-05/0.8925, allocations: 20 kB / 1.069 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.8925, allocations: 7.969 kB / 1.069 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.9088, allocations: 8.637 MB / 1.077 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.9088, allocations: 4 kB / 1.077 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.9093, allocations: 119.8 kB / 1.078 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008581/0.9179, allocations: 2.545 MB / 1.08 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.9182, allocations: 28 kB / 1.08 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03093/0.9491, allocations: 20.89 MB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.9492, allocations: 4 kB / 1.1 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9611, allocations: 5.138 MB / 1.106 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.9624, allocations: 479.5 kB / 1.106 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/0.9628, allocations: 31.92 kB / 1.106 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.964, allocations: 75.91 kB / 1.106 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.9646, allocations: 129 kB / 1.106 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.9648, allocations: 36 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001033/0.9658, allocations: 0.6395 MB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9658, allocations: 4.188 kB / 1.107 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002802/0.9686, allocations: 0.7188 MB / 1.108 GB, free: 13.11 MB / 0.8731 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.000308/0.9689, allocations: 139.1 kB / 1.108 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007059/0.976, allocations: 4.15 MB / 1.112 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.976, allocations: 448 / 1.112 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005108/0.9812, allocations: 2.662 MB / 1.114 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.9828, allocations: 211.1 kB / 1.115 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.9905, allocations: 4.942 MB / 1.119 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.9922, allocations: 1.739 MB / 1.121 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.9926, allocations: 63.44 kB / 1.121 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of SimCode: time 1.103e-06/0.9926, allocations: 0 / 1.121 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of Templates: time 0.06671/1.059, allocations: 59.73 MB / 1.179 GB, free: 3.277 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches