Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 193.7 kB / 16.63 MB, free: 6.609 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.456/1.456, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.03 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2967, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01152/0.3083, allocations: 10.08 MB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00531/0.3136, allocations: 3.17 MB / 1.101 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/0.3143, allocations: 43.81 kB / 1.101 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.316, allocations: 0.6013 MB / 1.102 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3177, allocations: 0.7426 MB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3192, allocations: 0.7408 MB / 1.103 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.3222, allocations: 2.988 MB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.3249, allocations: 2.583 MB / 1.108 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.3265, allocations: 1.25 MB / 1.11 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.3285, allocations: 1.562 MB / 1.111 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.3288, allocations: 232 kB / 1.111 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/0.3296, allocations: 0.4955 MB / 1.112 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009475/0.3306, allocations: 1.072 MB / 1.113 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.3317, allocations: 1.116 MB / 1.114 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.3348, allocations: 3.685 MB / 1.118 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3348, allocations: 4 kB / 1.118 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3348, allocations: 0 / 1.118 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.267e-05/0.3349, allocations: 0 / 1.118 GB, free: 2.914 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.0039/0.3388, allocations: 2.142 MB / 1.12 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3389, allocations: 16.03 kB / 1.12 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009202/0.3481, allocations: 1.313 MB / 1.121 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.3506, allocations: 1.302 MB / 1.122 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.3507, allocations: 111.4 kB / 1.122 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.3511, allocations: 148.3 kB / 1.123 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/0.3563, allocations: 3.445 MB / 1.126 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.3564, allocations: 7.938 kB / 1.126 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.3566, allocations: 59.97 kB / 1.126 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/0.3569, allocations: 207.1 kB / 1.126 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004709/0.3616, allocations: 3.124 MB / 1.129 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.379, allocations: 13.56 MB / 1.142 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.3815, allocations: 1.728 MB / 1.144 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.3837, allocations: 1.44 MB / 1.146 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.3838, allocations: 9 kB / 1.146 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3838, allocations: 43.55 kB / 1.146 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 4.188e-06/0.3839, allocations: 0 / 1.146 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=183): time 0.1511/0.535, allocations: 36.69 MB / 1.181 GB, free: 340 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.5351, allocations: 73.41 kB / 1.182 GB, free: 256 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.5369, allocations: 1.05 MB / 1.183 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.5372, allocations: 49.7 kB / 1.183 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.5378, allocations: 0.7912 MB / 1.183 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008213/0.5387, allocations: 0.6238 MB / 1.184 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009606/0.5397, allocations: 371.4 kB / 1.184 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5398, allocations: 305.1 kB / 1.185 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.5425, allocations: 1.928 MB / 1.187 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/0.5458, allocations: 2.285 MB / 1.189 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006088/0.5519, allocations: 4.391 MB / 1.193 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.552, allocations: 4 kB / 1.193 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0207/0.5727, allocations: 9.023 MB / 1.202 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5727, allocations: 15.94 kB / 1.202 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.5728, allocations: 12.06 kB / 1.202 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01773/0.5905, allocations: 4.968 MB / 1.207 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5918, allocations: 195.6 kB / 1.207 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06347/0.6553, allocations: 38.89 MB / 1.245 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.6577, allocations: 103.9 kB / 1.245 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004801/0.6582, allocations: 63.98 kB / 1.245 GB, free: 14.26 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002455/0.6606, allocations: 0.8056 MB / 1.246 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007086/0.6614, allocations: 142.4 kB / 1.246 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/0.6839, allocations: 8.89 MB / 1.255 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-05/0.684, allocations: 20 kB / 1.255 GB, free: 4.359 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001703/0.6842, allocations: 32 kB / 1.255 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.977e-05/0.6843, allocations: 7.969 kB / 1.255 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7157/1.4, allocations: 13.4 MB / 1.268 GB, free: 156.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/1.4, allocations: 7.406 kB / 1.268 GB, free: 156.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/1.401, allocations: 121.5 kB / 1.268 GB, free: 156.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0188/1.419, allocations: 4.831 MB / 1.273 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/1.42, allocations: 35.25 kB / 1.273 GB, free: 155.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05464/1.474, allocations: 36.8 MB / 1.309 GB, free: 139 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.475, allocations: 7.625 kB / 1.309 GB, free: 138.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/1.493, allocations: 8.598 MB / 1.317 GB, free: 134.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.495, allocations: 0.6377 MB / 1.318 GB, free: 134 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.495, allocations: 37.28 kB / 1.318 GB, free: 134 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.497, allocations: 98.59 kB / 1.318 GB, free: 133.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/1.498, allocations: 167.1 kB / 1.318 GB, free: 133.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/1.498, allocations: 48.12 kB / 1.318 GB, free: 133.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001196/1.5, allocations: 0.7381 MB / 1.319 GB, free: 133.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.5, allocations: 0 / 1.319 GB, free: 133.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004108/1.504, allocations: 1.009 MB / 1.32 GB, free: 133.3 MB / 1.014 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004685/1.504, allocations: 141.2 kB / 1.32 GB, free: 133.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009119/1.513, allocations: 5.942 MB / 1.326 GB, free: 127.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.513, allocations: 0 / 1.326 GB, free: 127.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007499/1.521, allocations: 3.925 MB / 1.329 GB, free: 123.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.523, allocations: 249.8 kB / 1.33 GB, free: 123 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/1.533, allocations: 5.074 MB / 1.335 GB, free: 117.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/1.535, allocations: 1.855 MB / 1.336 GB, free: 116 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007595/1.535, allocations: 355.2 kB / 1.337 GB, free: 115.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.536, allocations: 64.08 kB / 1.337 GB, free: 115.6 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.536, allocations: 0 / 1.337 GB, free: 115.6 MB / 1.014 GB Notification: Performance of Templates: time 0.07608/1.612, allocations: 60.52 MB / 1.396 GB, free: 55.24 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches