Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001451/0.001451, allocations: 104.5 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.001639/0.001639, allocations: 188.9 kB / 22.1 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.475/1.475, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.171/3.171, allocations: 495.8 MB / 0.783 GB, free: 33.38 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 64.67 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01356/0.3491, allocations: 10.43 MB / 1.317 GB, free: 7.359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006172/0.3553, allocations: 3.256 MB / 1.32 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.3561, allocations: 47.69 kB / 1.32 GB, free: 4.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.3578, allocations: 0.6205 MB / 1.321 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3595, allocations: 0.7817 MB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.3612, allocations: 0.7523 MB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.3648, allocations: 2.992 MB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.3667, allocations: 1.307 MB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.3686, allocations: 1.278 MB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.3712, allocations: 1.702 MB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.3717, allocations: 236 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.3727, allocations: 483.4 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.3739, allocations: 1.099 MB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.3754, allocations: 1.112 MB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.3799, allocations: 3.695 MB / 1.336 GB, free: 3.918 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3799, allocations: 4 kB / 1.336 GB, free: 3.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3799, allocations: 0 / 1.336 GB, free: 3.914 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.497e-05/0.38, allocations: 0 / 1.336 GB, free: 3.914 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005101/0.3851, allocations: 2.123 MB / 1.338 GB, free: 1.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3852, allocations: 8.031 kB / 1.338 GB, free: 1.742 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009652/0.3948, allocations: 1.326 MB / 1.339 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.3983, allocations: 1.258 MB / 1.34 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.3985, allocations: 123.2 kB / 1.341 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.399, allocations: 144.3 kB / 1.341 GB, free: 14.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/0.4053, allocations: 3.441 MB / 1.344 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/0.4053, allocations: 19.89 kB / 1.344 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.4056, allocations: 59.97 kB / 1.344 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00029/0.4059, allocations: 207.1 kB / 1.344 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005781/0.4117, allocations: 3.128 MB / 1.347 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.4322, allocations: 13.42 MB / 1.36 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.4348, allocations: 1.611 MB / 1.362 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.4369, allocations: 1.327 MB / 1.363 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.437, allocations: 9 kB / 1.363 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.437, allocations: 47.56 kB / 1.363 GB, free: 6.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 2.906e-06/0.437, allocations: 4 kB / 1.363 GB, free: 6.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=183): time 0.1593/0.5963, allocations: 36.19 MB / 1.399 GB, free: 2.375 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.5964, allocations: 77.33 kB / 1.399 GB, free: 2.285 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.598, allocations: 1.054 MB / 1.4 GB, free: 1.207 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003791/0.5984, allocations: 53.7 kB / 1.4 GB, free: 1.148 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.599, allocations: 0.8171 MB / 1.401 GB, free: 328 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/0.5999, allocations: 0.6507 MB / 1.401 GB, free: 15.66 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007889/0.6006, allocations: 363.5 kB / 1.402 GB, free: 15.3 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6008, allocations: 305.1 kB / 1.402 GB, free: 15 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.6038, allocations: 1.928 MB / 1.404 GB, free: 13.07 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003227/0.607, allocations: 2.285 MB / 1.406 GB, free: 10.66 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006415/0.6134, allocations: 4.399 MB / 1.41 GB, free: 6.145 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6134, allocations: 0 / 1.41 GB, free: 6.145 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02231/0.6357, allocations: 8.87 MB / 1.419 GB, free: 13.25 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.6358, allocations: 11.94 kB / 1.419 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.6358, allocations: 12 kB / 1.419 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01914/0.6549, allocations: 4.97 MB / 1.424 GB, free: 8.238 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.6559, allocations: 187.7 kB / 1.424 GB, free: 8.055 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0656/0.7215, allocations: 38.54 MB / 1.462 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.7236, allocations: 103.9 kB / 1.462 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/0.724, allocations: 67.98 kB / 1.462 GB, free: 0.8672 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.7257, allocations: 0.819 MB / 1.463 GB, free: 40 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.7261, allocations: 143.2 kB / 1.463 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/0.7475, allocations: 8.737 MB / 1.471 GB, free: 7.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.7475, allocations: 19.94 kB / 1.471 GB, free: 7.102 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/0.7476, allocations: 32 kB / 1.471 GB, free: 7.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.291e-05/0.7476, allocations: 11.91 kB / 1.471 GB, free: 7.059 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03006/0.7777, allocations: 13.23 MB / 1.484 GB, free: 9.676 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.7777, allocations: 4 kB / 1.484 GB, free: 9.672 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.7783, allocations: 127.8 kB / 1.484 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01836/0.7967, allocations: 4.823 MB / 1.489 GB, free: 4.711 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004364/0.7971, allocations: 36 kB / 1.489 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06222/0.8593, allocations: 36.45 MB / 1.525 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.8593, allocations: 5.094 kB / 1.525 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02145/0.8808, allocations: 8.456 MB / 1.533 GB, free: 7.188 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/0.8824, allocations: 0.5731 MB / 1.534 GB, free: 6.613 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005576/0.883, allocations: 39.89 kB / 1.534 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.8846, allocations: 91.88 kB / 1.534 GB, free: 6.484 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009278/0.8855, allocations: 177.5 kB / 1.534 GB, free: 6.312 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/0.8857, allocations: 44 kB / 1.534 GB, free: 6.27 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001294/0.887, allocations: 0.7343 MB / 1.535 GB, free: 5.523 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.887, allocations: 0 / 1.535 GB, free: 5.523 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003689/0.8907, allocations: 1.008 MB / 1.536 GB, free: 4.516 MB / 1.232 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003955/0.8911, allocations: 143.7 kB / 1.536 GB, free: 4.367 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01129/0.9024, allocations: 5.742 MB / 1.541 GB, free: 14.57 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.9024, allocations: 7.938 kB / 1.541 GB, free: 14.56 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.009059/0.9114, allocations: 3.783 MB / 1.545 GB, free: 10.73 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.9137, allocations: 225.5 kB / 1.545 GB, free: 10.52 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.9248, allocations: 5.194 MB / 1.55 GB, free: 5.27 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/0.9272, allocations: 1.851 MB / 1.552 GB, free: 3.383 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001/0.9282, allocations: 355.4 kB / 1.553 GB, free: 3.031 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.9285, allocations: 63.42 kB / 1.553 GB, free: 2.969 MB / 1.248 GB Notification: Performance of SimCode: time 1.102e-06/0.9285, allocations: 4 kB / 1.553 GB, free: 2.965 MB / 1.248 GB Notification: Performance of Templates: time 0.7566/1.685, allocations: 63.5 MB / 1.615 GB, free: 278.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 10.942021074704826]