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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.678/2.678, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.653e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01432/0.01435, allocations: 9.503 MB / 0.7957 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00622/0.02057, allocations: 3.005 MB / 0.7986 GB, free: 260 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.02123, allocations: 43.69 kB / 0.7987 GB, free: 216 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.02332, allocations: 0.6947 MB / 0.7993 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.02514, allocations: 0.7331 MB / 0.8 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.02674, allocations: 0.6509 MB / 0.8007 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003766/0.0305, allocations: 2.777 MB / 0.8034 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.03263, allocations: 1.375 MB / 0.8047 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.03504, allocations: 1.58 MB / 0.8063 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.03711, allocations: 1.368 MB / 0.8076 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.03744, allocations: 216 kB / 0.8078 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.03861, allocations: 467.2 kB / 0.8083 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.03982, allocations: 1.053 MB / 0.8093 GB, free: 5.266 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.04084, allocations: 0.7095 MB / 0.81 GB, free: 4.555 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.04532, allocations: 3.495 MB / 0.8134 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.04533, allocations: 0 / 0.8134 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.663e-06/0.04533, allocations: 0.7188 kB / 0.8134 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.497e-05/0.0454, allocations: 0 / 0.8134 GB, free: 1.051 MB / 0.7605 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.004374/0.04978, allocations: 1.895 MB / 0.8153 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.04982, allocations: 12.02 kB / 0.8153 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/0.05589, allocations: 1.204 MB / 0.8164 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.05869, allocations: 1.168 MB / 0.8176 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.05881, allocations: 115.9 kB / 0.8177 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/0.05917, allocations: 156.9 kB / 0.8178 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/0.06457, allocations: 3.089 MB / 0.8209 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.06461, allocations: 10.59 kB / 0.8209 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.06481, allocations: 64.34 kB / 0.8209 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/0.06507, allocations: 178.9 kB / 0.8211 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/0.06989, allocations: 2.596 MB / 0.8236 GB, free: 6.395 MB / 0.7761 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.01594/0.08584, allocations: 9.092 MB / 0.8325 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.08813, allocations: 1.215 MB / 0.8337 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.08975, allocations: 0.9876 MB / 0.8347 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.08982, allocations: 16.66 kB / 0.8347 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.08986, allocations: 39.22 kB / 0.8347 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.08986, allocations: 0 / 0.8347 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139): time 0.07597/0.1658, allocations: 18.91 MB / 0.8532 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.1659, allocations: 68.72 kB / 0.8532 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.1675, allocations: 0.9102 MB / 0.8541 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.1677, allocations: 45.7 kB / 0.8542 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.1684, allocations: 0.7462 MB / 0.8549 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007282/0.1692, allocations: 0.4918 MB / 0.8554 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008355/0.17, allocations: 291.5 kB / 0.8557 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.1702, allocations: 357.9 kB / 0.856 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.1728, allocations: 1.339 MB / 0.8573 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/0.1755, allocations: 1.655 MB / 0.8589 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.1806, allocations: 3.089 MB / 0.8619 GB, free: 14.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.1806, allocations: 0 / 0.8619 GB, free: 14.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0142/0.1948, allocations: 5.626 MB / 0.8674 GB, free: 8.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.1949, allocations: 8 kB / 0.8675 GB, free: 8.941 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.1949, allocations: 8 kB / 0.8675 GB, free: 8.934 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.2055, allocations: 2.83 MB / 0.8702 GB, free: 6.098 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000934/0.2064, allocations: 191.7 kB / 0.8704 GB, free: 5.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04604/0.2525, allocations: 24.93 MB / 0.8947 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.2541, allocations: 99.88 kB / 0.8948 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.2544, allocations: 52.12 kB / 0.8949 GB, free: 12.42 MB / 0.8542 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.001557/0.2559, allocations: 0.7354 MB / 0.8956 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/0.2565, allocations: 163.3 kB / 0.8958 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.2699, allocations: 5.314 MB / 0.901 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.2699, allocations: 12 kB / 0.901 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-05/0.27, allocations: 20 kB / 0.901 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.27, allocations: 7.922 kB / 0.901 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.2892, allocations: 7.971 MB / 0.9088 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.2893, allocations: 4 kB / 0.9088 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.2898, allocations: 115.9 kB / 0.9089 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/0.3002, allocations: 2.692 MB / 0.9115 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/0.3005, allocations: 28 kB / 0.9115 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0425/0.343, allocations: 23.4 MB / 0.9344 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.343, allocations: 4 kB / 0.9344 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.356, allocations: 5.203 MB / 0.9395 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.3572, allocations: 423 kB / 0.9399 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/0.3576, allocations: 28 kB / 0.9399 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.3586, allocations: 75.91 kB / 0.94 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006344/0.3593, allocations: 128.9 kB / 0.9401 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.3594, allocations: 40 kB / 0.9401 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001138/0.3606, allocations: 0.6239 MB / 0.9408 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 0.9408 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002738/0.3633, allocations: 0.7227 MB / 0.9415 GB, free: 12.08 MB / 0.9011 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.000315/0.3636, allocations: 139 kB / 0.9416 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00847/0.3721, allocations: 4.087 MB / 0.9456 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.3721, allocations: 4 kB / 0.9456 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00596/0.378, allocations: 2.617 MB / 0.9481 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.3796, allocations: 212.6 kB / 0.9483 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008479/0.3881, allocations: 4.105 MB / 0.9524 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.39, allocations: 1.117 MB / 0.9534 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009496/0.391, allocations: 317.2 kB / 0.9537 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.3912, allocations: 64.48 kB / 0.9538 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of SimCode: time 1.723e-06/0.3912, allocations: 0 / 0.9538 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of Templates: time 0.06864/0.4599, allocations: 42.01 MB / 0.9948 GB, free: 5.457 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.882302745012566]