Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01202/0.01202, allocations: 100.9 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.001827/0.001827, allocations: 195 kB / 16.68 MB, free: 5.973 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.79/2.79, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3299, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02281/0.3528, allocations: 20.25 MB / 1.186 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.366, allocations: 6.449 MB / 1.193 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.3682, allocations: 87.56 kB / 1.193 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005851/0.3741, allocations: 2.24 MB / 1.195 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004026/0.3782, allocations: 1.252 MB / 1.196 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.3817, allocations: 1.278 MB / 1.197 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005967/0.3877, allocations: 4.862 MB / 1.202 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007858/0.3956, allocations: 5.579 MB / 1.208 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.3994, allocations: 2.123 MB / 1.21 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004156/0.4036, allocations: 2.336 MB / 1.212 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.405, allocations: 428 kB / 1.212 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.4079, allocations: 1.006 MB / 1.213 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002965/0.4109, allocations: 1.669 MB / 1.215 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00466/0.4156, allocations: 1.91 MB / 1.217 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.4237, allocations: 6.538 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.4237, allocations: 0 / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4237, allocations: 3.938 kB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001698/0.4239, allocations: 0 / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007763/0.4317, allocations: 3.539 MB / 1.227 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4318, allocations: 12.03 kB / 1.227 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.4351, allocations: 0.6545 MB / 1.227 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.4387, allocations: 2.054 MB / 1.229 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.4389, allocations: 226.3 kB / 1.23 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/0.4394, allocations: 292.3 kB / 1.23 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007614/0.447, allocations: 4.886 MB / 1.235 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.032e-05/0.4471, allocations: 11.94 kB / 1.235 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.4474, allocations: 132 kB / 1.235 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000422/0.4478, allocations: 229.7 kB / 1.235 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00581/0.4537, allocations: 3.75 MB / 1.239 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9177/1.371, allocations: 21.44 MB / 1.26 GB, free: 66.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/1.374, allocations: 1.3 MB / 1.261 GB, free: 66.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/1.376, allocations: 1.051 MB / 1.262 GB, free: 66.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/1.376, allocations: 18.89 kB / 1.262 GB, free: 66.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/1.376, allocations: 54.12 kB / 1.262 GB, free: 66.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/1.376, allocations: 0.9688 kB / 1.262 GB, free: 66.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.02703/1.403, allocations: 8.691 MB / 1.27 GB, free: 63.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.403, allocations: 66.12 kB / 1.271 GB, free: 63.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/1.405, allocations: 1.133 MB / 1.272 GB, free: 63.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.405, allocations: 52.48 kB / 1.272 GB, free: 63.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/1.406, allocations: 1.334 MB / 1.273 GB, free: 62.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/1.406, allocations: 0.4928 MB / 1.273 GB, free: 61.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/1.407, allocations: 302.8 kB / 1.274 GB, free: 61.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/1.407, allocations: 305.1 kB / 1.274 GB, free: 61.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.408, allocations: 0.9128 MB / 1.275 GB, free: 61.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.41, allocations: 1.322 MB / 1.276 GB, free: 60.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/1.412, allocations: 2.425 MB / 1.279 GB, free: 58.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/1.412, allocations: 7 kB / 1.279 GB, free: 58.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006323/1.419, allocations: 3.471 MB / 1.282 GB, free: 57.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/1.419, allocations: 11.89 kB / 1.282 GB, free: 57.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/1.419, allocations: 11.81 kB / 1.282 GB, free: 57.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/1.422, allocations: 1.186 MB / 1.283 GB, free: 57.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.423, allocations: 260.4 kB / 1.283 GB, free: 57.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.44, allocations: 13.86 MB / 1.297 GB, free: 48.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.442, allocations: 88.52 kB / 1.297 GB, free: 48.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/1.442, allocations: 71.56 kB / 1.297 GB, free: 48.61 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002382/1.444, allocations: 1.111 MB / 1.298 GB, free: 48.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/1.445, allocations: 168.2 kB / 1.298 GB, free: 48.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/1.451, allocations: 3.177 MB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.451, allocations: 17.38 kB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.451, allocations: 15.56 kB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/1.451, allocations: 6.75 kB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.462, allocations: 6.245 MB / 1.308 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.462, allocations: 3.969 kB / 1.308 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/1.463, allocations: 148.2 kB / 1.308 GB, free: 44.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/1.466, allocations: 1.081 MB / 1.309 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/1.466, allocations: 30.72 kB / 1.309 GB, free: 43.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.481, allocations: 13.54 MB / 1.322 GB, free: 34.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.481, allocations: 8.578 kB / 1.322 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/1.485, allocations: 3.154 MB / 1.325 GB, free: 32.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/1.486, allocations: 430.5 kB / 1.326 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.486, allocations: 35.89 kB / 1.326 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/1.487, allocations: 90.91 kB / 1.326 GB, free: 32.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/1.487, allocations: 124.2 kB / 1.326 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/1.488, allocations: 39.56 kB / 1.326 GB, free: 32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008991/1.488, allocations: 0.7674 MB / 1.327 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.488, allocations: 0 / 1.327 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002307/1.491, allocations: 0.6646 MB / 1.327 GB, free: 31.51 MB / 0.9981 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002465/1.491, allocations: 135.7 kB / 1.327 GB, free: 31.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004135/1.495, allocations: 3.151 MB / 1.33 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.495, allocations: 0 / 1.33 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/1.498, allocations: 1.969 MB / 1.332 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.499, allocations: 0.4933 MB / 1.333 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007885/1.507, allocations: 5.456 MB / 1.338 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/1.509, allocations: 2.336 MB / 1.34 GB, free: 21.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001034/1.51, allocations: 350.1 kB / 1.341 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/1.511, allocations: 91.44 kB / 1.341 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.511, allocations: 0 / 1.341 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.05016/1.561, allocations: 33.2 MB / 1.373 GB, free: 3.898 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches