Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ACLineMedium,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001558/0.001558, allocations: 192.1 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.366/1.366, 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 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 69.92 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3026, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0158/0.3184, allocations: 14.78 MB / 1.041 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3337, allocations: 10.36 MB / 1.051 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.3355, allocations: 59.62 kB / 1.051 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.3399, allocations: 1.695 MB / 1.053 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005768/0.3457, allocations: 1.818 MB / 1.055 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.348, allocations: 0.756 MB / 1.056 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00496/0.3529, allocations: 2.742 MB / 1.058 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.3553, allocations: 1.423 MB / 1.06 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.3583, allocations: 1.492 MB / 1.061 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.361, allocations: 1.167 MB / 1.062 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000702/0.3617, allocations: 160 kB / 1.062 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.364, allocations: 0.7799 MB / 1.063 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.365, allocations: 0.6076 MB / 1.064 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.3673, allocations: 0.9561 MB / 1.065 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004436/0.3717, allocations: 2.761 MB / 1.067 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3718, allocations: 4 kB / 1.067 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3718, allocations: 0 / 1.067 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.521e-05/0.3719, allocations: 0 / 1.067 GB, free: 8.34 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005314/0.3772, allocations: 2.174 MB / 1.069 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.3773, allocations: 8.031 kB / 1.069 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.3891, allocations: 2.101 MB / 1.072 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.3927, allocations: 1.311 MB / 1.073 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3928, allocations: 86.67 kB / 1.073 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005712/0.3934, allocations: 120.1 kB / 1.073 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5475/0.9409, allocations: 2.668 MB / 1.076 GB, free: 52.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.219e-05/0.941, allocations: 12.17 kB / 1.076 GB, free: 52.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.9412, allocations: 52.12 kB / 1.076 GB, free: 52.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007266/0.942, allocations: 193 kB / 1.076 GB, free: 52.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0084/0.9504, allocations: 2.797 MB / 1.079 GB, free: 51.97 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.9669, allocations: 10.45 MB / 1.089 GB, free: 45.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007373/0.9743, allocations: 2.337 MB / 1.091 GB, free: 44.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003605/0.978, allocations: 1.276 MB / 1.092 GB, free: 44.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.9781, allocations: 16.27 kB / 1.092 GB, free: 44.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.9781, allocations: 44.19 kB / 1.092 GB, free: 44.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.314e-06/0.9781, allocations: 0 / 1.092 GB, free: 44.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.0621/1.04, allocations: 16.5 MB / 1.108 GB, free: 40.15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.04, allocations: 66.41 kB / 1.109 GB, free: 40.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.043, allocations: 1.172 MB / 1.11 GB, free: 39.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/1.043, allocations: 46.77 kB / 1.11 GB, free: 39.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/1.043, allocations: 0.7491 MB / 1.11 GB, free: 38.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005955/1.044, allocations: 0.5138 MB / 1.111 GB, free: 38.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/1.045, allocations: 288.8 kB / 1.111 GB, free: 38.45 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/1.045, allocations: 310.4 kB / 1.112 GB, free: 38.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/1.048, allocations: 1.503 MB / 1.113 GB, free: 37.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/1.052, allocations: 1.784 MB / 1.115 GB, free: 36.26 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/1.059, allocations: 3.361 MB / 1.118 GB, free: 34.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/1.059, allocations: 2.312 kB / 1.118 GB, free: 34.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01326/1.073, allocations: 5.278 MB / 1.123 GB, free: 31.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/1.073, allocations: 7.969 kB / 1.123 GB, free: 31.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/1.073, allocations: 8.344 kB / 1.123 GB, free: 31.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006989/1.08, allocations: 1.885 MB / 1.125 GB, free: 30.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.082, allocations: 407.7 kB / 1.125 GB, free: 30.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02549/1.107, allocations: 24.15 MB / 1.149 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/1.11, allocations: 308.7 kB / 1.149 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003682/1.11, allocations: 68 kB / 1.149 GB, free: 10.96 MB / 0.8419 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00121/1.112, allocations: 463 kB / 1.15 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/1.112, allocations: 179.7 kB / 1.15 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.124, allocations: 5.312 MB / 1.155 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.125, allocations: 16 kB / 1.155 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.467e-05/1.125, allocations: 19.94 kB / 1.155 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.125, allocations: 7.969 kB / 1.155 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.141, allocations: 7.425 MB / 1.162 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.141, allocations: 352 / 1.162 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.142, allocations: 363.3 kB / 1.163 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006165/1.148, allocations: 1.7 MB / 1.164 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/1.149, allocations: 43.91 kB / 1.164 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02839/1.177, allocations: 23.31 MB / 1.187 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.177, allocations: 7.938 kB / 1.187 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.19, allocations: 4.897 MB / 1.192 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.191, allocations: 494.8 kB / 1.193 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/1.192, allocations: 32 kB / 1.193 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.194, allocations: 311.5 kB / 1.193 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006564/1.195, allocations: 160.9 kB / 1.193 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.195, allocations: 51.91 kB / 1.193 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00144/1.197, allocations: 0.7899 MB / 1.194 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.197, allocations: 4 kB / 1.194 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002622/1.199, allocations: 0.6523 MB / 1.194 GB, free: 12.03 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/1.2, allocations: 149.8 kB / 1.195 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.211, allocations: 5.15 MB / 1.2 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.211, allocations: 0 / 1.2 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007175/1.218, allocations: 3.358 MB / 1.203 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.221, allocations: 0.5495 MB / 1.203 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/1.231, allocations: 4.285 MB / 1.208 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.233, allocations: 1.567 MB / 1.209 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0016/1.234, allocations: 390.4 kB / 1.21 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/1.235, allocations: 111.4 kB / 1.21 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of SimCode: time 1.062e-06/1.235, allocations: 0 / 1.21 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.07054/1.305, allocations: 44.86 MB / 1.253 GB, free: 15.85 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches