Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008595/0.008595, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01248/1.073, allocations: 10.02 MB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006551/1.08, allocations: 3.047 MB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/1.081, allocations: 38.44 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/1.083, allocations: 0.68 MB / 1.101 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/1.085, allocations: 0.7209 MB / 1.102 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/1.087, allocations: 0.6429 MB / 1.103 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00427/1.092, allocations: 2.743 MB / 1.105 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/1.096, allocations: 2.526 MB / 1.108 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/1.098, allocations: 1.144 MB / 1.109 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/1.101, allocations: 1.382 MB / 1.11 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/1.103, allocations: 216.2 kB / 1.111 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/1.105, allocations: 489.5 kB / 1.111 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001894/1.107, allocations: 0.9828 MB / 1.112 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002686/1.109, allocations: 1.018 MB / 1.113 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006016/1.115, allocations: 3.41 MB / 1.116 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.115, allocations: 0.75 kB / 1.116 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.053e-06/1.116, allocations: 0 / 1.116 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001321/1.116, allocations: 0 / 1.116 GB, free: 6.047 MB / 0.8731 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.008215/1.124, allocations: 1.994 MB / 1.118 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/1.124, allocations: 9.281 kB / 1.118 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00725/1.131, allocations: 0.897 MB / 1.119 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/1.135, allocations: 1.164 MB / 1.12 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/1.136, allocations: 111.6 kB / 1.12 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/1.137, allocations: 142.4 kB / 1.121 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/1.147, allocations: 3.021 MB / 1.123 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/1.147, allocations: 2.281 kB / 1.123 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006286/1.148, allocations: 67.25 kB / 1.124 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003974/1.148, allocations: 177.1 kB / 1.124 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006708/1.155, allocations: 2.611 MB / 1.126 GB, free: 1.805 MB / 0.8731 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.02376/1.179, allocations: 13.5 MB / 1.139 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/1.181, allocations: 1.298 MB / 1.141 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.183, allocations: 1.048 MB / 1.142 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/1.183, allocations: 12.44 kB / 1.142 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.183, allocations: 39.73 kB / 1.142 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/1.183, allocations: 0 / 1.142 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.08003/1.263, allocations: 19.42 MB / 1.161 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.263, allocations: 69.62 kB / 1.161 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/1.265, allocations: 0.9212 MB / 1.162 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.265, allocations: 51.39 kB / 1.162 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/1.266, allocations: 0.7485 MB / 1.162 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006563/1.267, allocations: 0.4993 MB / 1.163 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007813/1.267, allocations: 288.7 kB / 1.163 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.268, allocations: 355 kB / 1.164 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/1.27, allocations: 1.333 MB / 1.165 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/1.272, allocations: 1.66 MB / 1.166 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/1.277, allocations: 3.096 MB / 1.17 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.277, allocations: 0 / 1.17 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01291/1.29, allocations: 5.641 MB / 1.175 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.29, allocations: 8 kB / 1.175 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.29, allocations: 11.94 kB / 1.175 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009701/1.3, allocations: 2.721 MB / 1.178 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00098/1.301, allocations: 187.7 kB / 1.178 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03845/1.339, allocations: 25.74 MB / 1.203 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.341, allocations: 95.95 kB / 1.203 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.341, allocations: 59.98 kB / 1.203 GB, free: 5.852 MB / 0.9356 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.00145/1.343, allocations: 0.7315 MB / 1.204 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/1.343, allocations: 119.2 kB / 1.204 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.355, allocations: 5.396 MB / 1.209 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.355, allocations: 12 kB / 1.209 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/1.355, allocations: 20 kB / 1.209 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/1.355, allocations: 11.95 kB / 1.209 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/1.374, allocations: 8.69 MB / 1.218 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.374, allocations: 8.062 kB / 1.218 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/1.374, allocations: 119.8 kB / 1.218 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009318/1.383, allocations: 2.59 MB / 1.22 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.384, allocations: 28 kB / 1.22 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03676/1.421, allocations: 24.17 MB / 1.244 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.421, allocations: 4 kB / 1.244 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.433, allocations: 5.261 MB / 1.249 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.434, allocations: 496.2 kB / 1.25 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/1.435, allocations: 28 kB / 1.25 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.436, allocations: 75.91 kB / 1.25 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005976/1.437, allocations: 125 kB / 1.25 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.437, allocations: 36 kB / 1.25 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001084/1.438, allocations: 0.6434 MB / 1.251 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.438, allocations: 3.938 kB / 1.251 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004067/1.442, allocations: 0.7227 MB / 1.251 GB, free: 3.734 MB / 0.9825 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.0004508/1.443, allocations: 140.7 kB / 1.251 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008676/1.451, allocations: 4.212 MB / 1.256 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.451, allocations: 4 kB / 1.256 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005895/1.457, allocations: 2.728 MB / 1.258 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.459, allocations: 223.8 kB / 1.258 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008375/1.468, allocations: 4.029 MB / 1.262 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/1.47, allocations: 1.692 MB / 1.264 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008924/1.471, allocations: 325.5 kB / 1.264 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/1.471, allocations: 63.42 kB / 1.264 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/1.471, allocations: 0 / 1.264 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of Templates: time 0.06547/1.536, allocations: 40.36 MB / 1.304 GB, free: 13.91 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches