Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.005828/0.005828, allocations: 98.59 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.001218/0.001218, allocations: 195.9 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 75.81 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.37, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009273/0.3793, allocations: 6.825 MB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005617/0.3849, allocations: 3.071 MB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.3856, allocations: 27.81 kB / 1.23 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.3881, allocations: 0.957 MB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.3894, allocations: 0.5207 MB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3906, allocations: 450.7 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.392, allocations: 1.228 MB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000818/0.3929, allocations: 0.5374 MB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.3935, allocations: 474.3 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.3942, allocations: 0.5253 MB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.3943, allocations: 64 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.395, allocations: 383.3 kB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.3953, allocations: 323.1 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.3957, allocations: 453.7 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3971, allocations: 1.226 MB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3971, allocations: 0 / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3971, allocations: 0 / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.3972, allocations: 0 / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001961/0.3991, allocations: 1.191 MB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3992, allocations: 8.031 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.4007, allocations: 240.1 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.4016, allocations: 0.6158 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.4017, allocations: 49.62 kB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4018, allocations: 64.36 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.4033, allocations: 1.089 MB / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.4033, allocations: 7.938 kB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.4034, allocations: 28 kB / 1.24 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.4035, allocations: 85.25 kB / 1.241 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.4046, allocations: 0.7504 MB / 1.241 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005334/0.41, allocations: 5.886 MB / 1.247 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.4109, allocations: 0.5125 MB / 1.247 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.4113, allocations: 282 kB / 1.248 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.4114, allocations: 8.438 kB / 1.248 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4114, allocations: 39 kB / 1.248 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 1.853e-06/0.4114, allocations: 0 / 1.248 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.7432/1.155, allocations: 1.983 MB / 1.25 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.155, allocations: 58.28 kB / 1.25 GB, free: 30.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/1.155, allocations: 0.5655 MB / 1.25 GB, free: 30.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/1.156, allocations: 35.73 kB / 1.25 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/1.156, allocations: 427.7 kB / 1.251 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/1.156, allocations: 183.4 kB / 1.251 GB, free: 29.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/1.156, allocations: 128.9 kB / 1.251 GB, free: 29.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.156, allocations: 374.2 kB / 1.251 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/1.157, allocations: 275.5 kB / 1.252 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.157, allocations: 494.8 kB / 1.252 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.158, allocations: 0.8103 MB / 1.253 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.158, allocations: 2.344 kB / 1.253 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00203/1.16, allocations: 1.085 MB / 1.254 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.161, allocations: 8.781 kB / 1.254 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.161, allocations: 10.41 kB / 1.254 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/1.161, allocations: 275.9 kB / 1.254 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/1.162, allocations: 125 kB / 1.254 GB, free: 28.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/1.167, allocations: 7.146 MB / 1.261 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/1.168, allocations: 41.69 kB / 1.261 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/1.168, allocations: 26.91 kB / 1.261 GB, free: 23.28 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003887/1.168, allocations: 253.4 kB / 1.262 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.168, allocations: 80.25 kB / 1.262 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.17, allocations: 0.88 MB / 1.263 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.17, allocations: 4.062 kB / 1.263 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.17, allocations: 5.469 kB / 1.263 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.17, allocations: 2.531 kB / 1.263 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/1.173, allocations: 1.716 MB / 1.264 GB, free: 22.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.173, allocations: 2.875 kB / 1.264 GB, free: 22.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/1.173, allocations: 62.47 kB / 1.264 GB, free: 22.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007685/1.174, allocations: 266.3 kB / 1.265 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/1.174, allocations: 13.5 kB / 1.265 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/1.179, allocations: 7.125 MB / 1.272 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.179, allocations: 6.359 kB / 1.272 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/1.181, allocations: 0.983 MB / 1.273 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/1.182, allocations: 202.8 kB / 1.273 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/1.182, allocations: 9.094 kB / 1.273 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/1.182, allocations: 29.39 kB / 1.273 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.182, allocations: 37.53 kB / 1.273 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/1.182, allocations: 19.72 kB / 1.273 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006236/1.183, allocations: 388.9 kB / 1.273 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.183, allocations: 0.875 kB / 1.273 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00108/1.184, allocations: 224.3 kB / 1.273 GB, free: 15.69 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001617/1.184, allocations: 118.2 kB / 1.274 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.186, allocations: 1.233 MB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.186, allocations: 0.75 kB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.187, allocations: 0.8706 MB / 1.276 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.188, allocations: 222.4 kB / 1.276 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/1.191, allocations: 1.349 MB / 1.277 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/1.192, allocations: 1.01 MB / 1.278 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005418/1.193, allocations: 123.5 kB / 1.278 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/1.193, allocations: 42.83 kB / 1.278 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/1.193, allocations: 4 kB / 1.278 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of Templates: time 0.02844/1.221, allocations: 11.42 MB / 1.289 GB, free: 12.02 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches