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.009833/0.009833, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001791/0.001791, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.434/1.434, allocations: 222.9 MB / 240.3 MB, free: 15.16 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.357/2.357, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01295/1.016, allocations: 10.01 MB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006865/1.023, allocations: 3.048 MB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/1.024, allocations: 37.06 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/1.027, allocations: 0.6804 MB / 1.101 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00259/1.029, allocations: 0.722 MB / 1.102 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/1.031, allocations: 0.6411 MB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004766/1.036, allocations: 2.744 MB / 1.105 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/1.04, allocations: 2.531 MB / 1.108 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/1.043, allocations: 1.135 MB / 1.109 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/1.047, allocations: 1.387 MB / 1.11 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005704/1.047, allocations: 216.8 kB / 1.111 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/1.049, allocations: 489.1 kB / 1.111 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001398/1.05, allocations: 0.9834 MB / 1.112 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/1.052, allocations: 1.018 MB / 1.113 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005262/1.057, allocations: 3.408 MB / 1.116 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.057, allocations: 0.5156 kB / 1.116 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.884e-06/1.057, allocations: 0 / 1.116 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001051/1.057, allocations: 1.156 kB / 1.116 GB, free: 6.055 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.005362/1.063, allocations: 1.948 MB / 1.118 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.063, allocations: 9.688 kB / 1.118 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/1.068, allocations: 0.881 MB / 1.119 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/1.071, allocations: 1.164 MB / 1.12 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.071, allocations: 110.3 kB / 1.12 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/1.071, allocations: 142.5 kB / 1.12 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005942/1.077, allocations: 3.021 MB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/1.077, allocations: 5.875 kB / 1.123 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/1.078, allocations: 67.62 kB / 1.123 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/1.078, allocations: 180.7 kB / 1.124 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/1.083, allocations: 2.607 MB / 1.126 GB, free: 1.871 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.01954/1.103, allocations: 13.48 MB / 1.139 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/1.105, allocations: 1.296 MB / 1.141 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/1.107, allocations: 1.053 MB / 1.142 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.421e-05/1.107, allocations: 7.812 kB / 1.142 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.107, allocations: 39.19 kB / 1.142 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/1.107, allocations: 1.062 kB / 1.142 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.06826/1.175, allocations: 19.39 MB / 1.161 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.175, allocations: 66.97 kB / 1.161 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.178, allocations: 0.9211 MB / 1.162 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/1.178, allocations: 50.2 kB / 1.162 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007556/1.179, allocations: 0.7271 MB / 1.162 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/1.179, allocations: 493 kB / 1.163 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008334/1.18, allocations: 284.7 kB / 1.163 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.18, allocations: 354.1 kB / 1.163 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/1.183, allocations: 1.338 MB / 1.165 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/1.185, allocations: 1.657 MB / 1.166 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/1.19, allocations: 3.095 MB / 1.169 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1.19, allocations: 0 / 1.169 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01206/1.202, allocations: 5.632 MB / 1.175 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.202, allocations: 8 kB / 1.175 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.202, allocations: 11.94 kB / 1.175 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009008/1.211, allocations: 2.725 MB / 1.178 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000937/1.212, allocations: 191.7 kB / 1.178 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03938/1.252, allocations: 25.72 MB / 1.203 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/1.255, allocations: 95.89 kB / 1.203 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005531/1.255, allocations: 59.98 kB / 1.203 GB, free: 6.082 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.002611/1.258, allocations: 0.7393 MB / 1.204 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/1.259, allocations: 114.6 kB / 1.204 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/1.275, allocations: 5.384 MB / 1.209 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/1.275, allocations: 16 kB / 1.209 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-05/1.275, allocations: 20 kB / 1.209 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/1.275, allocations: 7.969 kB / 1.209 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.301, allocations: 8.686 MB / 1.218 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/1.301, allocations: 8.031 kB / 1.218 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/1.302, allocations: 119.8 kB / 1.218 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01256/1.314, allocations: 2.591 MB / 1.22 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005184/1.315, allocations: 40.31 kB / 1.22 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05598/1.371, allocations: 24.14 MB / 1.244 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.371, allocations: 4 kB / 1.244 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.388, allocations: 5.256 MB / 1.249 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/1.39, allocations: 487.7 kB / 1.249 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006544/1.391, allocations: 36 kB / 1.25 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.392, allocations: 71.91 kB / 1.25 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008593/1.393, allocations: 125 kB / 1.25 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.394, allocations: 40 kB / 1.25 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001686/1.395, allocations: 0.6395 MB / 1.25 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.114e-06/1.395, allocations: 0 / 1.25 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004682/1.4, allocations: 0.7265 MB / 1.251 GB, free: 4.004 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.0005364/1.401, allocations: 137.6 kB / 1.251 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.411, allocations: 4.204 MB / 1.255 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.411, allocations: 4 kB / 1.255 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005679/1.417, allocations: 2.705 MB / 1.258 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.419, allocations: 232.8 kB / 1.258 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008166/1.427, allocations: 3.975 MB / 1.262 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/1.429, allocations: 1.7 MB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009202/1.43, allocations: 329.4 kB / 1.264 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.43, allocations: 55.42 kB / 1.264 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.43, allocations: 0 / 1.264 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.06687/1.497, allocations: 40.35 MB / 1.303 GB, free: 14.27 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