Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009203/0.009203, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.001867/0.001867, allocations: 199.3 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.543/2.543, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 74.56 kB / 0.9509 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2971, allocations: 140.4 MB / 1.088 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03063/0.3278, allocations: 26.66 MB / 1.114 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.3424, allocations: 8.071 MB / 1.122 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.3452, allocations: 111.4 kB / 1.122 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007159/0.3524, allocations: 2.756 MB / 1.125 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.3571, allocations: 1.597 MB / 1.126 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.3614, allocations: 1.679 MB / 1.128 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007535/0.369, allocations: 6.134 MB / 1.134 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009432/0.3785, allocations: 7.327 MB / 1.141 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007455/0.386, allocations: 2.621 MB / 1.144 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006467/0.3925, allocations: 2.827 MB / 1.146 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.3943, allocations: 0.5078 MB / 1.147 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.3983, allocations: 1.287 MB / 1.148 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003008/0.4014, allocations: 2.047 MB / 1.15 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004533/0.4059, allocations: 2.385 MB / 1.152 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.4165, allocations: 8.047 MB / 1.16 GB, free: 7.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4166, allocations: 4 kB / 1.16 GB, free: 7.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4166, allocations: 4 kB / 1.16 GB, free: 7.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002938/0.4169, allocations: 0 / 1.16 GB, free: 7.234 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01129/0.4282, allocations: 4.232 MB / 1.164 GB, free: 2.938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4283, allocations: 12.03 kB / 1.164 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004755/0.433, allocations: 0.7923 MB / 1.165 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.439, allocations: 2.581 MB / 1.168 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4393, allocations: 275.6 kB / 1.168 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.4405, allocations: 376.5 kB / 1.168 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.4535, allocations: 5.984 MB / 1.174 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.4537, allocations: 31.75 kB / 1.174 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005002/0.4542, allocations: 160 kB / 1.174 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006106/0.4548, allocations: 278.9 kB / 1.175 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00909/0.4639, allocations: 4.524 MB / 1.179 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03334/0.4973, allocations: 27.45 MB / 1.206 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.499, allocations: 1.123 MB / 1.207 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.5002, allocations: 1.019 MB / 1.208 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.5003, allocations: 13 kB / 1.208 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5003, allocations: 43.56 kB / 1.208 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 2.845e-06/0.5003, allocations: 0 / 1.208 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=131): time 0.02217/0.5225, allocations: 9.67 MB / 1.217 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5226, allocations: 68.72 kB / 1.217 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.5248, allocations: 1.494 MB / 1.219 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.5249, allocations: 53.64 kB / 1.219 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.526, allocations: 1.663 MB / 1.221 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.5264, allocations: 473.3 kB / 1.221 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/0.5269, allocations: 323.2 kB / 1.221 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.527, allocations: 309.1 kB / 1.222 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.5284, allocations: 0.9174 MB / 1.223 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.53, allocations: 1.463 MB / 1.224 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.5331, allocations: 2.55 MB / 1.227 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5331, allocations: 4 kB / 1.227 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005777/0.5389, allocations: 3.286 MB / 1.23 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.5389, allocations: 16 kB / 1.23 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.539, allocations: 16 kB / 1.23 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.5412, allocations: 0.7335 MB / 1.23 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.5429, allocations: 387.4 kB / 1.231 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.5606, allocations: 17.04 MB / 1.247 GB, free: 8.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.5626, allocations: 99.91 kB / 1.248 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.5629, allocations: 76 kB / 1.248 GB, free: 8.762 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.5654, allocations: 1.314 MB / 1.249 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/0.566, allocations: 201.6 kB / 1.249 GB, free: 7.238 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.5717, allocations: 2.784 MB / 1.252 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.5717, allocations: 12 kB / 1.252 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/0.5718, allocations: 8 kB / 1.252 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.5718, allocations: 7.969 kB / 1.252 GB, free: 4.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.764/1.336, allocations: 6.216 MB / 1.258 GB, free: 153.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.336, allocations: 5.25 kB / 1.258 GB, free: 153.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.338, allocations: 234.9 kB / 1.258 GB, free: 153.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/1.341, allocations: 0.6645 MB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/1.342, allocations: 36.48 kB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/1.363, allocations: 16.78 MB / 1.275 GB, free: 140 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/1.363, allocations: 10 kB / 1.275 GB, free: 140 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.375, allocations: 4.007 MB / 1.279 GB, free: 138.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.377, allocations: 464 kB / 1.28 GB, free: 138.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/1.378, allocations: 35.91 kB / 1.28 GB, free: 138.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.38, allocations: 79.56 kB / 1.28 GB, free: 138.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/1.38, allocations: 118.3 kB / 1.28 GB, free: 138 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.38, allocations: 43.08 kB / 1.28 GB, free: 138 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002275/1.383, allocations: 0.9904 MB / 1.281 GB, free: 137.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.4e-07/1.383, allocations: 1.344 kB / 1.281 GB, free: 137.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004117/1.387, allocations: 0.6881 MB / 1.281 GB, free: 137.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004572/1.387, allocations: 151.6 kB / 1.282 GB, free: 137.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007295/1.395, allocations: 3.518 MB / 1.285 GB, free: 135.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/1.395, allocations: 1.281 kB / 1.285 GB, free: 135.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.398, allocations: 2.298 MB / 1.287 GB, free: 134.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.402, allocations: 0.6789 MB / 1.288 GB, free: 133.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.415, allocations: 6.437 MB / 1.294 GB, free: 130.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/1.42, allocations: 2.671 MB / 1.297 GB, free: 129.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002474/1.422, allocations: 486.7 kB / 1.297 GB, free: 129.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/1.423, allocations: 121.3 kB / 1.297 GB, free: 129.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.433e-06/1.423, allocations: 1.438 kB / 1.297 GB, free: 129.6 MB / 1.014 GB Notification: Performance of Templates: time 0.05973/1.483, allocations: 34.69 MB / 1.331 GB, free: 112.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches