Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01318/0.01318, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002074/0.002074, allocations: 190.4 kB / 16.67 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.576/1.576, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.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.752/2.752, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 71.89 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.325, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03825/0.3633, allocations: 35.12 MB / 1.122 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.3826, allocations: 9.952 MB / 1.132 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.3871, allocations: 143.3 kB / 1.132 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.398, allocations: 3.817 MB / 1.136 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007875/0.4059, allocations: 2.138 MB / 1.138 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006527/0.4124, allocations: 1.957 MB / 1.14 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01022/0.4227, allocations: 7.99 MB / 1.148 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01419/0.4369, allocations: 9.522 MB / 1.157 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/0.4427, allocations: 3.42 MB / 1.16 GB, free: 7.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006013/0.4488, allocations: 3.738 MB / 1.164 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.4507, allocations: 0.6796 MB / 1.165 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.455, allocations: 1.44 MB / 1.166 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003987/0.459, allocations: 2.624 MB / 1.169 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005888/0.4649, allocations: 3.101 MB / 1.172 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.4761, allocations: 10.38 MB / 1.182 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4761, allocations: 0 / 1.182 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4761, allocations: 4 kB / 1.182 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002563/0.4764, allocations: 0 / 1.182 GB, free: 1.098 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01117/0.4876, allocations: 5.401 MB / 1.187 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4876, allocations: 8.031 kB / 1.187 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/0.4922, allocations: 0.9665 MB / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/0.4975, allocations: 3.186 MB / 1.191 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.4978, allocations: 357.9 kB / 1.191 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007657/0.4986, allocations: 464.3 kB / 1.192 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.5106, allocations: 7.903 MB / 1.2 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.5107, allocations: 23.77 kB / 1.2 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004907/0.5112, allocations: 212 kB / 1.2 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004657/0.5117, allocations: 373.1 kB / 1.2 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.5224, allocations: 5.929 MB / 1.206 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/0.5626, allocations: 35.95 MB / 1.241 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004181/0.5669, allocations: 2.134 MB / 1.243 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.5691, allocations: 1.488 MB / 1.245 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.5693, allocations: 13.31 kB / 1.245 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.5693, allocations: 55.81 kB / 1.245 GB, free: 12.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 3.687e-06/0.5693, allocations: 4 kB / 1.245 GB, free: 12.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.0151/0.5844, allocations: 7.54 MB / 1.252 GB, free: 5.074 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.5845, allocations: 72.72 kB / 1.252 GB, free: 4.992 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.5879, allocations: 1.86 MB / 1.254 GB, free: 3.105 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.5882, allocations: 53.7 kB / 1.254 GB, free: 3.047 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.5898, allocations: 2.127 MB / 1.256 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.5906, allocations: 0.5585 MB / 1.257 GB, free: 336 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.7005/1.291, allocations: 402.9 kB / 1.257 GB, free: 154.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.291, allocations: 301.6 kB / 1.257 GB, free: 154.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/1.296, allocations: 1.061 MB / 1.258 GB, free: 154.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/1.299, allocations: 1.762 MB / 1.26 GB, free: 153.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/1.303, allocations: 3.048 MB / 1.263 GB, free: 152 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/1.303, allocations: 6.906 kB / 1.263 GB, free: 152 MB / 1.014 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008321/1.311, allocations: 3.921 MB / 1.267 GB, free: 150.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/1.311, allocations: 16.81 kB / 1.267 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.607e-05/1.312, allocations: 25.94 kB / 1.267 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/1.315, allocations: 0.9268 MB / 1.268 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/1.317, allocations: 430.9 kB / 1.268 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/1.338, allocations: 22.76 MB / 1.29 GB, free: 130.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.341, allocations: 122.9 kB / 1.291 GB, free: 130.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/1.341, allocations: 93.38 kB / 1.291 GB, free: 130.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003912/1.345, allocations: 1.649 MB / 1.292 GB, free: 130 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009472/1.346, allocations: 256.8 kB / 1.292 GB, free: 130 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007238/1.353, allocations: 3.262 MB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.353, allocations: 16.25 kB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.855e-05/1.353, allocations: 10.8 kB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/1.353, allocations: 6.891 kB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.371, allocations: 7.55 MB / 1.303 GB, free: 125.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.371, allocations: 8.531 kB / 1.303 GB, free: 125.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.372, allocations: 218.9 kB / 1.303 GB, free: 125.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002746/1.375, allocations: 0.8941 MB / 1.304 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/1.375, allocations: 34.19 kB / 1.304 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/1.394, allocations: 22.72 MB / 1.326 GB, free: 105.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.394, allocations: 13.81 kB / 1.326 GB, free: 105.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/1.402, allocations: 3.376 MB / 1.33 GB, free: 104.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/1.403, allocations: 0.5285 MB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007264/1.404, allocations: 35.91 kB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.406, allocations: 97.75 kB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/1.406, allocations: 140.2 kB / 1.33 GB, free: 103.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.406, allocations: 51.56 kB / 1.33 GB, free: 103.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002066/1.408, allocations: 1.222 MB / 1.332 GB, free: 103.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.408, allocations: 0 / 1.332 GB, free: 103.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003853/1.412, allocations: 0.9069 MB / 1.333 GB, free: 103.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000343/1.413, allocations: 158.9 kB / 1.333 GB, free: 103.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006181/1.419, allocations: 4.432 MB / 1.337 GB, free: 100.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/1.419, allocations: 3.906 kB / 1.337 GB, free: 100.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003773/1.423, allocations: 2.989 MB / 1.34 GB, free: 98.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/1.427, allocations: 0.8274 MB / 1.341 GB, free: 97.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.442, allocations: 7.579 MB / 1.348 GB, free: 92.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/1.447, allocations: 3.211 MB / 1.351 GB, free: 89.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002159/1.449, allocations: 0.5293 MB / 1.352 GB, free: 88.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/1.449, allocations: 143.4 kB / 1.352 GB, free: 88.72 MB / 1.014 GB Notification: Performance of SimCode: time 3.406e-06/1.449, allocations: 0 / 1.352 GB, free: 88.72 MB / 1.014 GB Notification: Performance of Templates: time 0.06598/1.515, allocations: 41.62 MB / 1.393 GB, free: 47.74 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches