Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 190.7 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 495.8 MB / 0.783 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 62.19 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01346/0.3383, allocations: 10.4 MB / 1.317 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.3442, allocations: 3.111 MB / 1.32 GB, free: 4.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.3449, allocations: 51.62 kB / 1.32 GB, free: 4.219 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.347, allocations: 0.7115 MB / 1.321 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.3487, allocations: 0.7195 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3502, allocations: 0.6697 MB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003431/0.3536, allocations: 2.734 MB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.3556, allocations: 1.267 MB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.3575, allocations: 1.153 MB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.3597, allocations: 1.496 MB / 1.329 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.3601, allocations: 216 kB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.361, allocations: 459.4 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.3621, allocations: 1.005 MB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.3633, allocations: 1.015 MB / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.367, allocations: 3.423 MB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.367, allocations: 0 / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.367, allocations: 0 / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.332e-05/0.367, allocations: 4 kB / 1.334 GB, free: 5.281 MB / 1.029 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.003827/0.3709, allocations: 1.905 MB / 1.336 GB, free: 3.336 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3709, allocations: 8.031 kB / 1.336 GB, free: 3.328 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/0.3769, allocations: 0.897 MB / 1.337 GB, free: 2.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.3793, allocations: 1.12 MB / 1.338 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-05/0.3794, allocations: 119.2 kB / 1.338 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3798, allocations: 148.3 kB / 1.339 GB, free: 1.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005244/0.385, allocations: 3.013 MB / 1.342 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.385, allocations: 3.938 kB / 1.342 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.3852, allocations: 63.97 kB / 1.342 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.3855, allocations: 178.9 kB / 1.342 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/0.3898, allocations: 2.612 MB / 1.344 GB, free: 11.05 MB / 1.045 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.01708/0.4069, allocations: 13.35 MB / 1.357 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.4089, allocations: 1.224 MB / 1.359 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.4104, allocations: 0.976 MB / 1.36 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.4104, allocations: 8.656 kB / 1.36 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4105, allocations: 47.22 kB / 1.36 GB, free: 10.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 5.17e-06/0.4105, allocations: 3.984 kB / 1.36 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=139): time 0.07843/0.4889, allocations: 18.9 MB / 1.378 GB, free: 7.391 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.489, allocations: 68.66 kB / 1.378 GB, free: 7.309 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4904, allocations: 0.9184 MB / 1.379 GB, free: 6.379 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.4906, allocations: 53.7 kB / 1.379 GB, free: 6.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.4912, allocations: 0.7501 MB / 1.38 GB, free: 5.559 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/0.4917, allocations: 0.4957 MB / 1.38 GB, free: 5.059 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005969/0.4923, allocations: 291.5 kB / 1.381 GB, free: 4.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4925, allocations: 353.9 kB / 1.381 GB, free: 4.418 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.4945, allocations: 1.339 MB / 1.382 GB, free: 3.078 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.4969, allocations: 1.659 MB / 1.384 GB, free: 1.305 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004572/0.5015, allocations: 3.09 MB / 1.387 GB, free: 14.09 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5015, allocations: 4 kB / 1.387 GB, free: 14.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01285/0.5143, allocations: 5.557 MB / 1.392 GB, free: 8.508 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.5143, allocations: 8 kB / 1.392 GB, free: 8.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.5144, allocations: 11.94 kB / 1.392 GB, free: 8.488 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009721/0.5241, allocations: 2.725 MB / 1.395 GB, free: 5.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.525, allocations: 187.7 kB / 1.395 GB, free: 5.566 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0409/0.5659, allocations: 25.32 MB / 1.42 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5676, allocations: 99.89 kB / 1.42 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.5678, allocations: 59.94 kB / 1.42 GB, free: 11.63 MB / 1.123 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.001417/0.5693, allocations: 0.7315 MB / 1.421 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/0.5697, allocations: 123.2 kB / 1.421 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.5824, allocations: 5.314 MB / 1.426 GB, free: 5.418 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.5824, allocations: 16 kB / 1.426 GB, free: 5.402 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.5825, allocations: 16 kB / 1.426 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/0.5825, allocations: 7.969 kB / 1.426 GB, free: 5.379 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.6013, allocations: 8.59 MB / 1.434 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.6013, allocations: 12.34 kB / 1.434 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.6018, allocations: 123.8 kB / 1.435 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009643/0.6115, allocations: 2.565 MB / 1.437 GB, free: 9.961 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/0.6117, allocations: 36.36 kB / 1.437 GB, free: 9.926 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03881/0.6505, allocations: 23.78 MB / 1.46 GB, free: 1.688 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.6506, allocations: 8.312 kB / 1.46 GB, free: 1.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/0.6628, allocations: 5.171 MB / 1.465 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.6641, allocations: 427.1 kB / 1.466 GB, free: 12.01 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/0.6645, allocations: 36 kB / 1.466 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.6657, allocations: 71.91 kB / 1.466 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006697/0.6664, allocations: 132.9 kB / 1.466 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.6665, allocations: 40 kB / 1.466 GB, free: 11.73 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001101/0.6676, allocations: 0.6395 MB / 1.467 GB, free: 11.1 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6676, allocations: 0 / 1.467 GB, free: 11.1 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002914/0.6705, allocations: 0.7188 MB / 1.467 GB, free: 10.38 MB / 1.17 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.0003687/0.6709, allocations: 143.8 kB / 1.468 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008228/0.6791, allocations: 4.074 MB / 1.471 GB, free: 6.098 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.6792, allocations: 4 kB / 1.471 GB, free: 6.094 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.006629/0.6858, allocations: 2.615 MB / 1.474 GB, free: 3.43 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.6882, allocations: 222.5 kB / 1.474 GB, free: 3.219 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/0.6975, allocations: 4.077 MB / 1.478 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.6997, allocations: 1.7 MB / 1.48 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000922/0.7006, allocations: 333.4 kB / 1.48 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.7009, allocations: 51.44 kB / 1.48 GB, free: 12.96 MB / 1.186 GB Notification: Performance of SimCode: time 1.393e-06/0.7009, allocations: 4 kB / 1.48 GB, free: 12.96 MB / 1.186 GB Notification: Performance of Templates: time 0.06968/0.7705, allocations: 41.99 MB / 1.521 GB, free: 3.105 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.70621157810092]