Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008433/0.0008433, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008669/0.0008669, allocations: 173.9 kB / 23.21 MB, free: 1.344 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 0.8762/0.8762, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.746/1.746, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.949e-05, allocations: 6.219 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00736/0.00738, allocations: 9.496 MB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003052/0.01043, allocations: 2.99 MB / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.01073, allocations: 51.69 kB / 1.013 GB, free: 420 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.01171, allocations: 0.69 MB / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007484/0.01246, allocations: 0.7498 MB / 1.015 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.01315, allocations: 0.647 MB / 1.015 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.01477, allocations: 2.78 MB / 1.018 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.01587, allocations: 1.36 MB / 1.019 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.01697, allocations: 1.583 MB / 1.021 GB, free: 8.535 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.01798, allocations: 1.368 MB / 1.022 GB, free: 7.164 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.01816, allocations: 216 kB / 1.022 GB, free: 6.953 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.01863, allocations: 475.2 kB / 1.023 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/0.01925, allocations: 1.044 MB / 1.024 GB, free: 5.441 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.01972, allocations: 0.7173 MB / 1.024 GB, free: 4.723 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.02167, allocations: 3.495 MB / 1.028 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.02167, allocations: 4 kB / 1.028 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.633e-06/0.02167, allocations: 0 / 1.028 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.02169, allocations: 0 / 1.028 GB, free: 1.215 MB / 0.9792 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.001938/0.02363, allocations: 1.893 MB / 1.03 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.02366, allocations: 8.75 kB / 1.03 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.02651, allocations: 0.9166 MB / 1.031 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.02773, allocations: 1.131 MB / 1.032 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.02778, allocations: 115.3 kB / 1.032 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.02796, allocations: 140.3 kB / 1.032 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.03075, allocations: 3.085 MB / 1.035 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.03078, allocations: 12.11 kB / 1.035 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.03091, allocations: 64.34 kB / 1.035 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.03104, allocations: 174.9 kB / 1.035 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.0337, allocations: 2.604 MB / 1.038 GB, free: 6.887 MB / 0.9948 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.007792/0.04149, allocations: 9.038 MB / 1.047 GB, free: 13.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.0427, allocations: 1.217 MB / 1.048 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.04357, allocations: 0.9878 MB / 1.049 GB, free: 11.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.04362, allocations: 8.656 kB / 1.049 GB, free: 11.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.04364, allocations: 39.22 kB / 1.049 GB, free: 11.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.04365, allocations: 0 / 1.049 GB, free: 11.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=139): time 0.4293/0.473, allocations: 18.88 MB / 1.067 GB, free: 95.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.473, allocations: 65.47 kB / 1.067 GB, free: 95.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.4736, allocations: 0.9096 MB / 1.068 GB, free: 94.75 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.4737, allocations: 48.27 kB / 1.068 GB, free: 94.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4739, allocations: 0.7551 MB / 1.069 GB, free: 94.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.4741, allocations: 0.4923 MB / 1.069 GB, free: 93.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.4744, allocations: 294.8 kB / 1.07 GB, free: 93.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.4744, allocations: 346.8 kB / 1.07 GB, free: 93.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.4754, allocations: 1.339 MB / 1.071 GB, free: 92.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4765, allocations: 1.651 MB / 1.073 GB, free: 92.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.4787, allocations: 3.095 MB / 1.076 GB, free: 90.75 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4787, allocations: 2.844 kB / 1.076 GB, free: 90.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005856/0.4845, allocations: 5.559 MB / 1.081 GB, free: 89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.4846, allocations: 12.69 kB / 1.081 GB, free: 89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4846, allocations: 7.75 kB / 1.081 GB, free: 89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/0.4889, allocations: 2.711 MB / 1.084 GB, free: 88.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4893, allocations: 191.8 kB / 1.084 GB, free: 88.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.5095, allocations: 24.84 MB / 1.109 GB, free: 75.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007793/0.5103, allocations: 98.2 kB / 1.109 GB, free: 75.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.5104, allocations: 60.31 kB / 1.109 GB, free: 75.84 MB / 1.01 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.0008028/0.5112, allocations: 0.7368 MB / 1.109 GB, free: 75.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.5113, allocations: 119 kB / 1.11 GB, free: 75.41 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006668/0.518, allocations: 5.307 MB / 1.115 GB, free: 73.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.518, allocations: 14.47 kB / 1.115 GB, free: 73.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.518, allocations: 18.19 kB / 1.115 GB, free: 73.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.518, allocations: 8.719 kB / 1.115 GB, free: 73.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.5285, allocations: 7.971 MB / 1.123 GB, free: 70.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5285, allocations: 2.781 kB / 1.123 GB, free: 70.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.5287, allocations: 121.4 kB / 1.123 GB, free: 70.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004782/0.5335, allocations: 2.572 MB / 1.125 GB, free: 70.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.5336, allocations: 29.28 kB / 1.125 GB, free: 70.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.5526, allocations: 23.31 MB / 1.148 GB, free: 58.63 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5526, allocations: 8.906 kB / 1.148 GB, free: 58.62 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.5586, allocations: 5.161 MB / 1.153 GB, free: 55.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.5591, allocations: 419.8 kB / 1.153 GB, free: 55.44 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5592, allocations: 33.58 kB / 1.153 GB, free: 55.42 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.5596, allocations: 73.06 kB / 1.154 GB, free: 55.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.5599, allocations: 126.4 kB / 1.154 GB, free: 55.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.56, allocations: 42.64 kB / 1.154 GB, free: 55.29 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004915/0.5605, allocations: 0.6232 MB / 1.154 GB, free: 54.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5605, allocations: 5.156 kB / 1.154 GB, free: 54.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001645/0.5621, allocations: 0.72 MB / 1.155 GB, free: 54.87 MB / 1.01 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.0001781/0.5623, allocations: 138.5 kB / 1.155 GB, free: 54.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003798/0.5661, allocations: 4.091 MB / 1.159 GB, free: 52.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5661, allocations: 0.8438 kB / 1.159 GB, free: 52.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.5685, allocations: 2.619 MB / 1.162 GB, free: 50.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.5691, allocations: 206.1 kB / 1.162 GB, free: 50.78 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.5725, allocations: 4.321 MB / 1.166 GB, free: 47.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.5732, allocations: 1.148 MB / 1.167 GB, free: 46.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.5733, allocations: 64.48 kB / 1.167 GB, free: 46.32 MB / 1.01 GB Notification: Performance of SimCode: time 7.81e-07/0.5733, allocations: 0 / 1.167 GB, free: 46.32 MB / 1.01 GB Notification: Performance of Templates: time 0.02936/0.6027, allocations: 60.58 MB / 1.226 GB, free: 1.758 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.257963198237121]