Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.002066/0.002066, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002224/0.002224, allocations: 190.3 kB / 22.22 MB, free: 5.105 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.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.03 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.227/3.227, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] 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_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 73.59 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03119/0.3429, allocations: 23.62 MB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.3554, allocations: 6.408 MB / 1.337 GB, free: 3.691 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3572, allocations: 123.1 kB / 1.337 GB, free: 3.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004452/0.3617, allocations: 1.616 MB / 1.338 GB, free: 1.949 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00454/0.3662, allocations: 1.731 MB / 1.34 GB, free: 216 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.3698, allocations: 1.389 MB / 1.341 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007657/0.3775, allocations: 5.932 MB / 1.347 GB, free: 8.875 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004762/0.3822, allocations: 2.972 MB / 1.35 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.386, allocations: 2.481 MB / 1.352 GB, free: 3.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00471/0.3907, allocations: 3.065 MB / 1.355 GB, free: 260 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008236/0.3915, allocations: 456 kB / 1.356 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.3938, allocations: 1.116 MB / 1.357 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.3962, allocations: 2.097 MB / 1.359 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002785/0.399, allocations: 2.163 MB / 1.361 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008759/0.4077, allocations: 7.316 MB / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4077, allocations: 0 / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.215e-06/0.4077, allocations: 0 / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001751/0.4079, allocations: 3.938 kB / 1.368 GB, free: 3.074 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008107/0.416, allocations: 3.838 MB / 1.372 GB, free: 15.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.416, allocations: 8.031 kB / 1.372 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.4219, allocations: 1.239 MB / 1.373 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.4268, allocations: 2.289 MB / 1.376 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.4271, allocations: 246.4 kB / 1.376 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006356/0.4277, allocations: 311.9 kB / 1.376 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4383, allocations: 6.216 MB / 1.382 GB, free: 4.582 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.4384, allocations: 7.938 kB / 1.382 GB, free: 4.574 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.4387, allocations: 143.9 kB / 1.382 GB, free: 4.434 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005508/0.4393, allocations: 406.3 kB / 1.383 GB, free: 4.035 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008082/0.4474, allocations: 4.666 MB / 1.387 GB, free: 15.36 MB / 1.092 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.03383/0.4812, allocations: 28.75 MB / 1.415 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.4834, allocations: 1.367 MB / 1.417 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.4855, allocations: 1.448 MB / 1.418 GB, free: 13.07 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.983e-05/0.4856, allocations: 13 kB / 1.418 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.4856, allocations: 47.56 kB / 1.418 GB, free: 13 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 2.946e-06/0.4856, allocations: 0 / 1.418 GB, free: 13 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1359/0.6216, allocations: 37.08 MB / 1.454 GB, free: 7.863 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.6216, allocations: 77.34 kB / 1.454 GB, free: 7.773 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/0.6238, allocations: 1.423 MB / 1.456 GB, free: 6.344 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.624, allocations: 53.7 kB / 1.456 GB, free: 6.285 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.6253, allocations: 1.583 MB / 1.457 GB, free: 4.688 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007152/0.626, allocations: 0.6429 MB / 1.458 GB, free: 4.039 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008163/0.6268, allocations: 383.5 kB / 1.458 GB, free: 3.656 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6269, allocations: 301.1 kB / 1.459 GB, free: 3.359 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.6298, allocations: 1.788 MB / 1.46 GB, free: 1.566 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/0.6331, allocations: 2.35 MB / 1.463 GB, free: 14.97 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006345/0.6394, allocations: 4.387 MB / 1.467 GB, free: 10.34 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.6395, allocations: 8 kB / 1.467 GB, free: 10.34 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01863/0.6581, allocations: 8.424 MB / 1.475 GB, free: 1.875 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.6581, allocations: 16.22 kB / 1.475 GB, free: 1.859 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.6581, allocations: 20 kB / 1.475 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/0.6736, allocations: 4.633 MB / 1.48 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.6749, allocations: 307.5 kB / 1.48 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05289/0.7278, allocations: 32 MB / 1.511 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.7298, allocations: 147.8 kB / 1.511 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/0.7302, allocations: 88 kB / 1.512 GB, free: 11.96 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002612/0.7328, allocations: 1.324 MB / 1.513 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/0.7334, allocations: 210.7 kB / 1.513 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/0.7523, allocations: 8.297 MB / 1.521 GB, free: 2.07 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.7523, allocations: 19.94 kB / 1.521 GB, free: 2.051 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-05/0.7524, allocations: 31.94 kB / 1.521 GB, free: 2.02 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.393e-05/0.7525, allocations: 7.969 kB / 1.521 GB, free: 2.012 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03028/0.7827, allocations: 12.67 MB / 1.534 GB, free: 5.168 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/0.7828, allocations: 12 kB / 1.534 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.7836, allocations: 159.8 kB / 1.534 GB, free: 5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/0.7995, allocations: 4.487 MB / 1.538 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004539/0.8, allocations: 36 kB / 1.538 GB, free: 472 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05532/0.8553, allocations: 31.63 MB / 1.569 GB, free: 140 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.8553, allocations: 8 kB / 1.569 GB, free: 132 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/0.874, allocations: 8.109 MB / 1.577 GB, free: 7.895 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.8758, allocations: 0.5531 MB / 1.577 GB, free: 7.34 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/0.8763, allocations: 39.94 kB / 1.578 GB, free: 7.301 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.8779, allocations: 135.8 kB / 1.578 GB, free: 7.168 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008667/0.8788, allocations: 176.9 kB / 1.578 GB, free: 6.996 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/0.879, allocations: 48 kB / 1.578 GB, free: 6.949 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001692/0.8807, allocations: 0.9588 MB / 1.579 GB, free: 5.996 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.8807, allocations: 0 / 1.579 GB, free: 5.996 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003591/0.8843, allocations: 1.125 MB / 1.58 GB, free: 4.871 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003647/0.8847, allocations: 151.8 kB / 1.58 GB, free: 4.711 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01361/0.8983, allocations: 6.312 MB / 1.586 GB, free: 14.32 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.8983, allocations: 0 / 1.586 GB, free: 14.32 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009903/0.9082, allocations: 4.19 MB / 1.59 GB, free: 10.05 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.9113, allocations: 0.5263 MB / 1.591 GB, free: 9.531 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.9261, allocations: 6.996 MB / 1.598 GB, free: 2.426 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/0.9303, allocations: 2.727 MB / 1.6 GB, free: 15.66 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001501/0.9318, allocations: 388.6 kB / 1.601 GB, free: 15.28 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.9321, allocations: 91.44 kB / 1.601 GB, free: 15.19 MB / 1.311 GB Notification: Performance of SimCode: time 1.252e-06/0.9321, allocations: 0 / 1.601 GB, free: 15.19 MB / 1.311 GB Notification: Performance of Templates: time 0.7291/1.661, allocations: 63.45 MB / 1.663 GB, free: 272.4 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 11.161276441067457]