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.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.002038/0.002038, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002496/0.002496, allocations: 161.7 kB / 23.55 MB, free: 0.8945 MB / 18.57 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.47/1.47, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.833/2.833, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_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 1.914e-06/1.914e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.26e-05, allocations: 3.969 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.04006/0.04009, allocations: 21.13 MB / 0.8315 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.05309, allocations: 6.14 MB / 0.8375 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.05516, allocations: 127 kB / 0.8376 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.06004, allocations: 1.574 MB / 0.8391 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.06512, allocations: 1.769 MB / 0.8409 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.06915, allocations: 1.353 MB / 0.8422 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00867/0.07782, allocations: 6.044 MB / 0.8481 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007429/0.08525, allocations: 3.211 MB / 0.8512 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007291/0.09254, allocations: 3.446 MB / 0.8546 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005388/0.09792, allocations: 2.767 MB / 0.8573 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.09916, allocations: 460 kB / 0.8577 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.1017, allocations: 1.053 MB / 0.8588 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002869/0.1046, allocations: 2.194 MB / 0.8609 GB, free: 14.66 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002587/0.1072, allocations: 1.501 MB / 0.8624 GB, free: 13.15 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009643/0.1168, allocations: 7.429 MB / 0.8696 GB, free: 5.703 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1168, allocations: 0 / 0.8696 GB, free: 5.703 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1168, allocations: 0 / 0.8696 GB, free: 5.703 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002056/0.1171, allocations: 0 / 0.8696 GB, free: 5.703 MB / 0.823 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.008529/0.1256, allocations: 3.802 MB / 0.8733 GB, free: 1.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1256, allocations: 12.03 kB / 0.8733 GB, free: 1.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007026/0.1327, allocations: 1.703 MB / 0.875 GB, free: 136 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/0.1382, allocations: 2.41 MB / 0.8774 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.1385, allocations: 242.3 kB / 0.8776 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008016/0.1393, allocations: 323.9 kB / 0.8779 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.1529, allocations: 6.438 MB / 0.8842 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-05/0.153, allocations: 15.88 kB / 0.8842 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.1535, allocations: 140 kB / 0.8843 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006316/0.1541, allocations: 406.3 kB / 0.8847 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009191/0.1633, allocations: 4.654 MB / 0.8893 GB, free: 1.156 MB / 0.8386 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.02965/0.1929, allocations: 18.18 MB / 0.907 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.1953, allocations: 1.373 MB / 0.9084 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.1976, allocations: 1.429 MB / 0.9098 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1977, allocations: 21 kB / 0.9098 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.1977, allocations: 43.56 kB / 0.9098 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 3.406e-06/0.1977, allocations: 0 / 0.9098 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=179): time 0.1446/0.3423, allocations: 37.1 MB / 0.946 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.3424, allocations: 73.41 kB / 0.9461 GB, free: 6.367 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.3448, allocations: 1.363 MB / 0.9474 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.345, allocations: 53.7 kB / 0.9475 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.3465, allocations: 1.582 MB / 0.949 GB, free: 3.336 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/0.3474, allocations: 0.6313 MB / 0.9497 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009256/0.3483, allocations: 383.5 kB / 0.95 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3485, allocations: 305.1 kB / 0.9503 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/0.3516, allocations: 1.788 MB / 0.9521 GB, free: 228 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.3553, allocations: 2.346 MB / 0.9544 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.3625, allocations: 4.391 MB / 0.9586 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/0.3625, allocations: 12 kB / 0.9587 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02098/0.3835, allocations: 8.498 MB / 0.967 GB, free: 452 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.3835, allocations: 12 kB / 0.967 GB, free: 440 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.3835, allocations: 19.94 kB / 0.967 GB, free: 420 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01806/0.4016, allocations: 4.787 MB / 0.9717 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4029, allocations: 307.4 kB / 0.972 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05655/0.4595, allocations: 31.53 MB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.4617, allocations: 151.8 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/0.4621, allocations: 83.98 kB / 1.003 GB, free: 10.91 MB / 0.9636 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.002789/0.4649, allocations: 1.336 MB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/0.4657, allocations: 250.8 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02041/0.4861, allocations: 8.296 MB / 1.013 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/0.4861, allocations: 19.94 kB / 1.013 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001118/0.4862, allocations: 28 kB / 1.013 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/0.4863, allocations: 7.969 kB / 1.013 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/0.5147, allocations: 11.64 MB / 1.024 GB, free: 5.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/0.5148, allocations: 8 kB / 1.024 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.5156, allocations: 163.7 kB / 1.024 GB, free: 4.961 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01712/0.5327, allocations: 4.635 MB / 1.029 GB, free: 320 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/0.533, allocations: 40 kB / 1.029 GB, free: 280 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05481/0.5878, allocations: 31.14 MB / 1.059 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.5878, allocations: 12 kB / 1.059 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4315/1.019, allocations: 8.13 MB / 1.067 GB, free: 270.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.021, allocations: 0.5436 MB / 1.068 GB, free: 270.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.021, allocations: 40.94 kB / 1.068 GB, free: 270.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.022, allocations: 136.2 kB / 1.068 GB, free: 270.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008159/1.023, allocations: 186.8 kB / 1.068 GB, free: 270.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.023, allocations: 50.81 kB / 1.068 GB, free: 270.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001023/1.024, allocations: 0.8938 MB / 1.069 GB, free: 270.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.024, allocations: 0 / 1.069 GB, free: 270.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002881/1.027, allocations: 1.118 MB / 1.07 GB, free: 270.4 MB / 1.01 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.0002663/1.027, allocations: 147.5 kB / 1.07 GB, free: 270.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.038, allocations: 6.307 MB / 1.076 GB, free: 268 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.038, allocations: 0 / 1.076 GB, free: 268 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008025/1.046, allocations: 4.188 MB / 1.08 GB, free: 266.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.048, allocations: 0.5131 MB / 1.081 GB, free: 266.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.059, allocations: 7.077 MB / 1.088 GB, free: 263 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/1.061, allocations: 2.167 MB / 1.09 GB, free: 262.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001084/1.063, allocations: 380.2 kB / 1.09 GB, free: 262.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.063, allocations: 89.5 kB / 1.09 GB, free: 262.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.453e-06/1.063, allocations: 0 / 1.09 GB, free: 262.4 MB / 1.01 GB Notification: Performance of Templates: time 0.08946/1.152, allocations: 63.81 MB / 1.153 GB, free: 224.2 MB / 1.01 GB " [Timeout remaining time 299] 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: 10.053277131984942]