Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,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_10_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_10_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.00114/0.001141, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001163/0.001163, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 57.39 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3785, allocations: 151.7 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04347/0.422, allocations: 26.67 MB / 1.045 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.4361, allocations: 8.071 MB / 1.053 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.4391, allocations: 119.4 kB / 1.053 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.4462, allocations: 2.76 MB / 1.056 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005239/0.4515, allocations: 1.578 MB / 1.057 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004891/0.4564, allocations: 1.671 MB / 1.059 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009158/0.4656, allocations: 6.146 MB / 1.065 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.4749, allocations: 7.316 MB / 1.072 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.4797, allocations: 2.563 MB / 1.074 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5933/1.073, allocations: 2.832 MB / 1.077 GB, free: 26.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002387/1.075, allocations: 0.5087 MB / 1.078 GB, free: 26.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/1.081, allocations: 1.284 MB / 1.079 GB, free: 26.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004727/1.085, allocations: 2.05 MB / 1.081 GB, free: 26.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007618/1.093, allocations: 2.382 MB / 1.083 GB, free: 26.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01742/1.11, allocations: 8.052 MB / 1.091 GB, free: 25.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.11, allocations: 5.562 kB / 1.091 GB, free: 25.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.374e-06/1.111, allocations: 1.391 kB / 1.091 GB, free: 25.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004671/1.111, allocations: 0 / 1.091 GB, free: 25.44 MB / 0.8419 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.01964/1.131, allocations: 4.228 MB / 1.095 GB, free: 23.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.131, allocations: 11.58 kB / 1.095 GB, free: 23.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00734/1.138, allocations: 0.7979 MB / 1.096 GB, free: 23.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008226/1.146, allocations: 2.58 MB / 1.099 GB, free: 23.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/1.147, allocations: 272.3 kB / 1.099 GB, free: 23.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/1.149, allocations: 373.9 kB / 1.099 GB, free: 23.03 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/1.171, allocations: 5.995 MB / 1.105 GB, free: 21.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/1.171, allocations: 19.7 kB / 1.105 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001456/1.172, allocations: 157.8 kB / 1.105 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007078/1.173, allocations: 283.4 kB / 1.105 GB, free: 21.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/1.186, allocations: 4.521 MB / 1.11 GB, free: 19.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03247/1.218, allocations: 27.47 MB / 1.137 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/1.22, allocations: 1.118 MB / 1.138 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/1.222, allocations: 1.02 MB / 1.139 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.342e-05/1.222, allocations: 10.62 kB / 1.139 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.222, allocations: 49.94 kB / 1.139 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 3.706e-06/1.222, allocations: 0 / 1.139 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.02357/1.246, allocations: 9.669 MB / 1.148 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/1.246, allocations: 66.88 kB / 1.148 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/1.248, allocations: 1.489 MB / 1.15 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/1.249, allocations: 48.86 kB / 1.15 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.25, allocations: 1.672 MB / 1.151 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/1.251, allocations: 468.5 kB / 1.152 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006452/1.251, allocations: 328.5 kB / 1.152 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.251, allocations: 305.1 kB / 1.152 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/1.253, allocations: 0.9097 MB / 1.153 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/1.255, allocations: 1.474 MB / 1.155 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/1.258, allocations: 2.55 MB / 1.157 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.258, allocations: 3.156 kB / 1.157 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006008/1.264, allocations: 3.285 MB / 1.161 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/1.264, allocations: 16.16 kB / 1.161 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.264, allocations: 17.12 kB / 1.161 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.266, allocations: 0.7413 MB / 1.161 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.268, allocations: 384.2 kB / 1.162 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.284, allocations: 17.05 MB / 1.178 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.286, allocations: 98.77 kB / 1.178 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.286, allocations: 77.66 kB / 1.178 GB, free: 13.64 MB / 0.8887 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.003161/1.289, allocations: 1.31 MB / 1.18 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/1.29, allocations: 197.7 kB / 1.18 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/1.295, allocations: 2.787 MB / 1.183 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.295, allocations: 12 kB / 1.183 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.295, allocations: 8 kB / 1.183 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.295, allocations: 7.969 kB / 1.183 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.307, allocations: 6.221 MB / 1.189 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.307, allocations: 8 kB / 1.189 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.309, allocations: 225.8 kB / 1.189 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/1.311, allocations: 0.6738 MB / 1.19 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/1.311, allocations: 28 kB / 1.19 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.327, allocations: 16.78 MB / 1.206 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.327, allocations: 7.656 kB / 1.206 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006784/1.334, allocations: 4.01 MB / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.336, allocations: 450.6 kB / 1.21 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/1.336, allocations: 39.98 kB / 1.21 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/1.337, allocations: 87.83 kB / 1.211 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/1.337, allocations: 115.2 kB / 1.211 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.337, allocations: 40 kB / 1.211 GB, free: 12.58 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001568/1.339, allocations: 0.9903 MB / 1.212 GB, free: 11.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/1.339, allocations: 4 kB / 1.212 GB, free: 11.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00317/1.342, allocations: 0.6836 MB / 1.212 GB, free: 10.91 MB / 0.92 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.0003432/1.342, allocations: 154.5 kB / 1.212 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005802/1.348, allocations: 3.529 MB / 1.216 GB, free: 7.191 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.348, allocations: 0 / 1.216 GB, free: 7.191 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003205/1.352, allocations: 2.289 MB / 1.218 GB, free: 4.816 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.355, allocations: 0.6722 MB / 1.219 GB, free: 4.18 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.367, allocations: 6.441 MB / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/1.37, allocations: 2.668 MB / 1.228 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00163/1.371, allocations: 489.4 kB / 1.228 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.372, allocations: 115.4 kB / 1.228 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of SimCode: time 1.393e-06/1.372, allocations: 4 kB / 1.228 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.06279/1.434, allocations: 33.64 MB / 1.261 GB, free: 9.348 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches