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.0014/0.0014, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001522/0.001522, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.199/3.199, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.028e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0565/0.05653, allocations: 21.14 MB / 0.8983 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.07134, allocations: 6.146 MB / 0.9043 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.07274, allocations: 127.1 kB / 0.9044 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.0771, allocations: 1.562 MB / 0.9059 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.08112, allocations: 1.776 MB / 0.9076 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.08457, allocations: 1.348 MB / 0.909 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007938/0.0925, allocations: 6.044 MB / 0.9149 GB, free: 260 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005646/0.09815, allocations: 3.198 MB / 0.918 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00593/0.1041, allocations: 3.446 MB / 0.9213 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004563/0.1086, allocations: 2.778 MB / 0.9241 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0007888/0.1094, allocations: 456 kB / 0.9245 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.1118, allocations: 1.049 MB / 0.9255 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002783/0.1146, allocations: 2.198 MB / 0.9277 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.1169, allocations: 1.497 MB / 0.9291 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.1266, allocations: 7.433 MB / 0.9364 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1266, allocations: 0 / 0.9364 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1266, allocations: 0 / 0.9364 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001573/0.1267, allocations: 0 / 0.9364 GB, free: 10.08 MB / 0.9011 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.007734/0.1345, allocations: 3.802 MB / 0.9401 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1345, allocations: 8.031 kB / 0.9401 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008039/0.1425, allocations: 1.707 MB / 0.9418 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.1478, allocations: 2.414 MB / 0.9441 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.1481, allocations: 246.3 kB / 0.9444 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007078/0.1488, allocations: 315.9 kB / 0.9447 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.161, allocations: 6.438 MB / 0.951 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.054e-05/0.161, allocations: 19.83 kB / 0.951 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/0.1614, allocations: 136 kB / 0.9511 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000611/0.162, allocations: 406.3 kB / 0.9515 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008733/0.1708, allocations: 4.662 MB / 0.956 GB, free: 5.523 MB / 0.9167 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.03036/0.2011, allocations: 18.16 MB / 0.9738 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.2038, allocations: 1.373 MB / 0.9751 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.2061, allocations: 1.444 MB / 0.9765 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.2062, allocations: 21 kB / 0.9766 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/0.2063, allocations: 47.55 kB / 0.9766 GB, free: 15.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.577e-06/0.2063, allocations: 4 kB / 0.9766 GB, free: 15.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=179): time 0.2833/0.4896, allocations: 37.11 MB / 1.013 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.4897, allocations: 69.41 kB / 1.013 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.4935, allocations: 1.36 MB / 1.014 GB, free: 9.352 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005244/0.494, allocations: 53.7 kB / 1.014 GB, free: 9.293 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.4963, allocations: 1.578 MB / 1.016 GB, free: 7.703 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.4978, allocations: 0.639 MB / 1.016 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/0.4996, allocations: 379.5 kB / 1.017 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.4998, allocations: 309 kB / 1.017 GB, free: 6.375 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/0.5052, allocations: 1.784 MB / 1.019 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006197/0.5114, allocations: 2.358 MB / 1.021 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.5241, allocations: 4.387 MB / 1.025 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/0.5242, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.03689/0.5611, allocations: 8.505 MB / 1.034 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.5611, allocations: 16 kB / 1.034 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/0.5612, allocations: 16.84 kB / 1.034 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03175/0.5929, allocations: 4.785 MB / 1.038 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.5948, allocations: 295.4 kB / 1.039 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3868/0.9817, allocations: 31.54 MB / 1.07 GB, free: 193.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.9839, allocations: 148 kB / 1.07 GB, free: 193.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.9841, allocations: 82.94 kB / 1.07 GB, free: 193.1 MB / 1.01 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.001747/0.9859, allocations: 1.337 MB / 1.071 GB, free: 192.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/0.9864, allocations: 259.8 kB / 1.071 GB, free: 192.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.002, allocations: 8.286 MB / 1.079 GB, free: 190 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.002, allocations: 15.75 kB / 1.079 GB, free: 190 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-05/1.002, allocations: 26.25 kB / 1.079 GB, free: 190 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/1.002, allocations: 9.656 kB / 1.079 GB, free: 190 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.024, allocations: 11.65 MB / 1.091 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.024, allocations: 5.969 kB / 1.091 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/1.025, allocations: 162.4 kB / 1.091 GB, free: 186.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0163/1.041, allocations: 4.628 MB / 1.095 GB, free: 185.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/1.042, allocations: 38.09 kB / 1.096 GB, free: 185.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04348/1.085, allocations: 31.15 MB / 1.126 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.085, allocations: 7.156 kB / 1.126 GB, free: 170.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.1, allocations: 8.145 MB / 1.134 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.101, allocations: 0.5447 MB / 1.134 GB, free: 167.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/1.102, allocations: 43.64 kB / 1.134 GB, free: 167.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.103, allocations: 133.7 kB / 1.135 GB, free: 167.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000807/1.104, allocations: 184.8 kB / 1.135 GB, free: 167.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.104, allocations: 51.19 kB / 1.135 GB, free: 167.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001034/1.105, allocations: 0.8974 MB / 1.136 GB, free: 166.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.105, allocations: 0 / 1.136 GB, free: 166.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002899/1.108, allocations: 1.117 MB / 1.137 GB, free: 166.7 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.0002776/1.108, allocations: 144 kB / 1.137 GB, free: 166.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.119, allocations: 6.311 MB / 1.143 GB, free: 163.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.119, allocations: 0 / 1.143 GB, free: 163.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007747/1.126, allocations: 4.192 MB / 1.147 GB, free: 159.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.129, allocations: 0.5151 MB / 1.148 GB, free: 158.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009038/1.138, allocations: 7.067 MB / 1.155 GB, free: 151.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/1.14, allocations: 2.169 MB / 1.157 GB, free: 149.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008846/1.141, allocations: 383.7 kB / 1.157 GB, free: 149 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.141, allocations: 88.5 kB / 1.157 GB, free: 149 MB / 1.01 GB Notification: Performance of SimCode: time 1.462e-06/1.141, allocations: 0 / 1.157 GB, free: 149 MB / 1.01 GB Notification: Performance of Templates: time 0.0656/1.207, allocations: 63.78 MB / 1.219 GB, free: 85.66 MB / 1.01 GB " [Timeout remaining time 299] 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 -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/jenkins/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.49686290603131]