Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001364/0.001364, allocations: 83.73 kB / 19.76 MB, free: 2.02 MB / 14.72 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.001461/0.001461, allocations: 161.8 kB / 23 MB, free: 4.945 MB / 14.72 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 1.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] 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 2.852/2.852, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 66.08 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9041, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02191/0.926, allocations: 21.56 MB / 1.208 GB, free: 2.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.9373, allocations: 6.186 MB / 1.214 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.94, allocations: 128.4 kB / 1.214 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005044/0.945, allocations: 1.562 MB / 1.215 GB, free: 13.6 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.9506, allocations: 1.725 MB / 1.217 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.9551, allocations: 1.347 MB / 1.218 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008996/0.9641, allocations: 5.934 MB / 1.224 GB, free: 9.234 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006274/0.9704, allocations: 3.196 MB / 1.227 GB, free: 7.645 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.9757, allocations: 2.501 MB / 1.23 GB, free: 6.535 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008303/0.984, allocations: 2.923 MB / 1.233 GB, free: 5.461 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00335/0.9873, allocations: 461.6 kB / 1.233 GB, free: 5.457 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005354/0.9927, allocations: 1.034 MB / 1.234 GB, free: 5.246 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005285/0.998, allocations: 2.081 MB / 1.236 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007373/1.005, allocations: 1.754 MB / 1.238 GB, free: 3.449 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/1.019, allocations: 7.357 MB / 1.245 GB, free: 14.9 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.019, allocations: 1.469 kB / 1.245 GB, free: 14.9 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.603e-06/1.019, allocations: 0 / 1.245 GB, free: 14.9 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002918/1.019, allocations: 0 / 1.245 GB, free: 14.9 MB / 1.107 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.01375/1.033, allocations: 3.837 MB / 1.249 GB, free: 12.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.033, allocations: 9.625 kB / 1.249 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007723/1.041, allocations: 1.234 MB / 1.25 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/1.047, allocations: 2.309 MB / 1.252 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/1.048, allocations: 247.3 kB / 1.252 GB, free: 10.08 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/1.049, allocations: 313.9 kB / 1.253 GB, free: 9.977 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/1.065, allocations: 6.438 MB / 1.259 GB, free: 5.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/1.066, allocations: 12.97 kB / 1.259 GB, free: 5.922 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006646/1.066, allocations: 141.9 kB / 1.259 GB, free: 5.816 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006332/1.067, allocations: 409 kB / 1.26 GB, free: 5.688 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/1.078, allocations: 4.655 MB / 1.264 GB, free: 3.301 MB / 1.107 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.03459/1.113, allocations: 18.08 MB / 1.282 GB, free: 3.836 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/1.115, allocations: 1.365 MB / 1.283 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/1.117, allocations: 1.432 MB / 1.284 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.117, allocations: 13 kB / 1.284 GB, free: 1.012 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.117, allocations: 43.56 kB / 1.285 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 4.769e-06/1.117, allocations: 7.938 kB / 1.285 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1546/1.272, allocations: 37.08 MB / 1.321 GB, free: 11.82 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/1.272, allocations: 73.34 kB / 1.321 GB, free: 11.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.274, allocations: 1.356 MB / 1.322 GB, free: 10.37 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003111/1.274, allocations: 53.7 kB / 1.322 GB, free: 10.31 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.276, allocations: 1.59 MB / 1.324 GB, free: 8.703 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/1.276, allocations: 0.639 MB / 1.324 GB, free: 8.059 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/1.277, allocations: 383.5 kB / 1.325 GB, free: 7.676 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.277, allocations: 309.1 kB / 1.325 GB, free: 7.371 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/1.28, allocations: 1.784 MB / 1.327 GB, free: 5.582 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/1.283, allocations: 2.354 MB / 1.329 GB, free: 2.98 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006502/1.29, allocations: 4.391 MB / 1.333 GB, free: 14.35 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/1.29, allocations: 8 kB / 1.333 GB, free: 14.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01923/1.309, allocations: 8.412 MB / 1.342 GB, free: 5.895 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/1.309, allocations: 18.28 kB / 1.342 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.309, allocations: 16 kB / 1.342 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/1.324, allocations: 4.615 MB / 1.346 GB, free: 1.234 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.326, allocations: 307.5 kB / 1.346 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05156/1.377, allocations: 31.42 MB / 1.377 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/1.38, allocations: 155.8 kB / 1.377 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.38, allocations: 84 kB / 1.377 GB, free: 0.6602 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.003/1.383, allocations: 1.332 MB / 1.379 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005724/1.384, allocations: 198.8 kB / 1.379 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/1.403, allocations: 8.292 MB / 1.387 GB, free: 6.777 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.403, allocations: 23.94 kB / 1.387 GB, free: 6.754 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/1.403, allocations: 24 kB / 1.387 GB, free: 6.73 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/1.403, allocations: 7.969 kB / 1.387 GB, free: 6.723 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.428, allocations: 11.64 MB / 1.398 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.428, allocations: 4 kB / 1.398 GB, free: 10.91 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/1.429, allocations: 163.7 kB / 1.398 GB, free: 10.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/1.444, allocations: 4.479 MB / 1.403 GB, free: 6.262 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/1.445, allocations: 36.06 kB / 1.403 GB, free: 6.227 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0515/1.496, allocations: 31.03 MB / 1.433 GB, free: 6.57 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.496, allocations: 8.109 kB / 1.433 GB, free: 6.562 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.514, allocations: 8.1 MB / 1.441 GB, free: 14.33 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.516, allocations: 0.5414 MB / 1.442 GB, free: 13.79 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/1.517, allocations: 47.92 kB / 1.442 GB, free: 13.74 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.518, allocations: 135.8 kB / 1.442 GB, free: 13.61 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007931/1.519, allocations: 180.8 kB / 1.442 GB, free: 13.43 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.519, allocations: 48 kB / 1.442 GB, free: 13.39 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001369/1.521, allocations: 0.9015 MB / 1.443 GB, free: 12.49 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.521, allocations: 0 / 1.443 GB, free: 12.49 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003947/1.524, allocations: 1.113 MB / 1.444 GB, free: 11.38 MB / 1.295 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.0003576/1.525, allocations: 151 kB / 1.444 GB, free: 11.21 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.538, allocations: 6.297 MB / 1.45 GB, free: 4.844 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.538, allocations: 0 / 1.45 GB, free: 4.844 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009845/1.548, allocations: 4.198 MB / 1.454 GB, free: 0.5625 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/1.551, allocations: 0.4982 MB / 1.455 GB, free: 80 kB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.564, allocations: 7.002 MB / 1.462 GB, free: 8.969 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/1.567, allocations: 2.162 MB / 1.464 GB, free: 6.762 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001113/1.568, allocations: 391.5 kB / 1.464 GB, free: 6.375 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/1.569, allocations: 100.5 kB / 1.464 GB, free: 6.277 MB / 1.311 GB Notification: Performance of SimCode: time 1.102e-06/1.569, allocations: 0 / 1.464 GB, free: 6.277 MB / 1.311 GB Notification: Performance of Templates: time 0.09993/1.668, allocations: 63.68 MB / 1.526 GB, free: 6.988 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.743083959096111]