Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001822/0.001822, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001874/0.001874, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.598/1.598, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 443.5 MB / 0.7293 GB, free: 14.43 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003269/0.003269, allocations: 63.91 kB / 1.057 GB, free: 1.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4438, allocations: 160.7 MB / 1.214 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01475/0.4586, allocations: 10.17 MB / 1.224 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006403/0.465, allocations: 3.064 MB / 1.227 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009766/0.4659, allocations: 35.81 kB / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.4683, allocations: 0.7028 MB / 1.228 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.4706, allocations: 0.7234 MB / 1.228 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.4725, allocations: 0.6393 MB / 1.229 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.4765, allocations: 2.738 MB / 1.232 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.4802, allocations: 1.906 MB / 1.234 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.4827, allocations: 1.141 MB / 1.235 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.4857, allocations: 1.488 MB / 1.236 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008759/0.4865, allocations: 216 kB / 1.236 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4882, allocations: 0.4915 MB / 1.237 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.4901, allocations: 1.002 MB / 1.238 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.4925, allocations: 1.023 MB / 1.239 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.4972, allocations: 3.419 MB / 1.242 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4972, allocations: 0 / 1.242 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.376e-06/0.4972, allocations: 0 / 1.242 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.828e-05/0.4973, allocations: 0 / 1.242 GB, free: 3.898 MB / 0.9825 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.004746/0.5021, allocations: 1.984 MB / 1.244 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5021, allocations: 8.031 kB / 1.244 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006038/0.5081, allocations: 0.9047 MB / 1.245 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.5109, allocations: 1.165 MB / 1.246 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5111, allocations: 111.3 kB / 1.246 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007058/0.5118, allocations: 144.3 kB / 1.246 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007195/0.519, allocations: 3.017 MB / 1.249 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.5191, allocations: 3.938 kB / 1.249 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.5195, allocations: 71.95 kB / 1.249 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.5198, allocations: 179 kB / 1.25 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005476/0.5252, allocations: 2.604 MB / 1.252 GB, free: 9.508 MB / 0.9981 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.6381/1.163, allocations: 13.49 MB / 1.265 GB, free: 42.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.165, allocations: 1.219 MB / 1.266 GB, free: 42.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/1.166, allocations: 0.9814 MB / 1.267 GB, free: 42.26 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/1.166, allocations: 13.03 kB / 1.267 GB, free: 42.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.166, allocations: 40.34 kB / 1.267 GB, free: 42.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/1.166, allocations: 0 / 1.267 GB, free: 42.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07928/1.246, allocations: 19.34 MB / 1.286 GB, free: 40.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/1.246, allocations: 66.91 kB / 1.286 GB, free: 40.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/1.247, allocations: 0.9151 MB / 1.287 GB, free: 39.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.247, allocations: 46.39 kB / 1.287 GB, free: 39.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/1.248, allocations: 0.7497 MB / 1.288 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000474/1.248, allocations: 0.4998 MB / 1.289 GB, free: 39.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005874/1.249, allocations: 294.8 kB / 1.289 GB, free: 38.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.249, allocations: 361.3 kB / 1.289 GB, free: 38.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.251, allocations: 1.334 MB / 1.291 GB, free: 38.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/1.253, allocations: 1.66 MB / 1.292 GB, free: 37.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/1.257, allocations: 3.087 MB / 1.295 GB, free: 36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.257, allocations: 7.969 kB / 1.295 GB, free: 36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01262/1.27, allocations: 5.557 MB / 1.301 GB, free: 34.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/1.27, allocations: 8.875 kB / 1.301 GB, free: 34.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/1.27, allocations: 9.531 kB / 1.301 GB, free: 34.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009886/1.28, allocations: 2.72 MB / 1.303 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/1.281, allocations: 194.6 kB / 1.303 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/1.315, allocations: 25.74 MB / 1.329 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.317, allocations: 94.98 kB / 1.329 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/1.317, allocations: 54.22 kB / 1.329 GB, free: 17.28 MB / 0.9981 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.001416/1.318, allocations: 0.7442 MB / 1.329 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/1.319, allocations: 119.6 kB / 1.33 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.33, allocations: 5.313 MB / 1.335 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.33, allocations: 12.59 kB / 1.335 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-05/1.33, allocations: 19.97 kB / 1.335 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/1.33, allocations: 7.969 kB / 1.335 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.345, allocations: 8.612 MB / 1.343 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.345, allocations: 4 kB / 1.343 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/1.345, allocations: 119.8 kB / 1.343 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00809/1.353, allocations: 2.593 MB / 1.346 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/1.354, allocations: 32 kB / 1.346 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03692/1.39, allocations: 24.18 MB / 1.369 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.39, allocations: 4 kB / 1.369 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.403, allocations: 5.175 MB / 1.375 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.404, allocations: 492.2 kB / 1.375 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/1.405, allocations: 35.98 kB / 1.375 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.406, allocations: 71.91 kB / 1.375 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007725/1.407, allocations: 122.9 kB / 1.375 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.407, allocations: 40 kB / 1.375 GB, free: 5.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001294/1.409, allocations: 0.6473 MB / 1.376 GB, free: 5.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/1.409, allocations: 0 / 1.376 GB, free: 5.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003642/1.412, allocations: 0.7227 MB / 1.377 GB, free: 4.453 MB / 1.029 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.0003752/1.413, allocations: 131.2 kB / 1.377 GB, free: 4.316 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008392/1.421, allocations: 4.098 MB / 1.381 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.421, allocations: 0 / 1.381 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.006233/1.427, allocations: 2.621 MB / 1.383 GB, free: 13.51 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.429, allocations: 216.7 kB / 1.384 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/1.438, allocations: 4.299 MB / 1.388 GB, free: 8.957 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/1.441, allocations: 1.735 MB / 1.389 GB, free: 7.188 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/1.441, allocations: 63.42 kB / 1.389 GB, free: 7.125 MB / 1.045 GB Notification: Performance of SimCode: time 1.703e-06/1.441, allocations: 7.938 kB / 1.389 GB, free: 7.117 MB / 1.045 GB Notification: Performance of Templates: time 0.08008/1.521, allocations: 60.06 MB / 1.448 GB, free: 11.09 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.542361620115116]