Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00167/0.00167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001717/0.001717, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.587/1.587, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.981/2.981, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.88 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7733, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02065/0.794, allocations: 14.7 MB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.8121, allocations: 10.36 MB / 1.041 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.814, allocations: 51.62 kB / 1.041 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.8188, allocations: 1.575 MB / 1.043 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00581/0.8246, allocations: 1.61 MB / 1.044 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.8266, allocations: 0.6919 MB / 1.045 GB, free: 5.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.8314, allocations: 3.401 MB / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.8337, allocations: 1.36 MB / 1.05 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.8362, allocations: 1.39 MB / 1.051 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.8382, allocations: 1.164 MB / 1.052 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.8385, allocations: 96 kB / 1.052 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.8404, allocations: 0.889 MB / 1.053 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006428/0.841, allocations: 0.5412 MB / 1.054 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.8423, allocations: 0.8897 MB / 1.054 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.8466, allocations: 2.729 MB / 1.057 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8466, allocations: 0 / 1.057 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.31e-07/0.8467, allocations: 0 / 1.057 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.712e-05/0.8467, allocations: 0 / 1.057 GB, free: 9.336 MB / 0.8106 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.004827/0.8516, allocations: 2.174 MB / 1.059 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.8516, allocations: 12.03 kB / 1.059 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.8634, allocations: 2.105 MB / 1.061 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.8663, allocations: 1.217 MB / 1.062 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/0.8664, allocations: 86.69 kB / 1.063 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.8667, allocations: 116.1 kB / 1.063 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/0.8728, allocations: 2.678 MB / 1.065 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.8728, allocations: 3.906 kB / 1.065 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.873, allocations: 55.98 kB / 1.065 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006424/0.8737, allocations: 190.1 kB / 1.066 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007892/0.8816, allocations: 2.799 MB / 1.068 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.8984, allocations: 10.51 MB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0066/0.905, allocations: 2.34 MB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.9083, allocations: 1.268 MB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.9084, allocations: 16.94 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.9084, allocations: 47.55 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.445e-06/0.9084, allocations: 0 / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06842/0.9769, allocations: 16.47 MB / 1.098 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.977, allocations: 72.66 kB / 1.098 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.9797, allocations: 1.168 MB / 1.099 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003129/0.98, allocations: 57.64 kB / 1.099 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009691/0.981, allocations: 0.7436 MB / 1.1 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008366/0.9818, allocations: 0.5159 MB / 1.101 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009795/0.9828, allocations: 291.4 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.983, allocations: 305.1 kB / 1.101 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/0.989, allocations: 1.507 MB / 1.103 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00753/0.9966, allocations: 1.78 MB / 1.104 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/1.012, allocations: 3.365 MB / 1.108 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.012, allocations: 8 kB / 1.108 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02758/1.039, allocations: 5.272 MB / 1.113 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/1.039, allocations: 9.562 kB / 1.113 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/1.039, allocations: 8 kB / 1.113 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/1.054, allocations: 1.881 MB / 1.115 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004049/1.058, allocations: 415.3 kB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05578/1.114, allocations: 22.19 MB / 1.137 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/1.119, allocations: 311.5 kB / 1.137 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005673/1.12, allocations: 63.97 kB / 1.137 GB, free: 4.902 MB / 0.8887 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.002006/1.122, allocations: 470 kB / 1.138 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009587/1.123, allocations: 173.9 kB / 1.138 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0272/1.15, allocations: 5.324 MB / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/1.15, allocations: 16 kB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.232e-05/1.15, allocations: 19.98 kB / 1.143 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-05/1.15, allocations: 4.078 kB / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/1.185, allocations: 7.426 MB / 1.15 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/1.185, allocations: 0 / 1.15 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/1.188, allocations: 356.1 kB / 1.151 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0124/1.201, allocations: 1.709 MB / 1.152 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/1.201, allocations: 47.91 kB / 1.152 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05041/1.252, allocations: 21.34 MB / 1.173 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.252, allocations: 8.062 kB / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02272/1.274, allocations: 4.893 MB / 1.178 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/1.277, allocations: 494.7 kB / 1.178 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000829/1.277, allocations: 31.98 kB / 1.178 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003978/1.281, allocations: 315.5 kB / 1.179 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009732/1.282, allocations: 153 kB / 1.179 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003746/1.283, allocations: 63.84 kB / 1.179 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002543/1.285, allocations: 0.7899 MB / 1.18 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.11e-07/1.285, allocations: 0 / 1.18 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004189/1.29, allocations: 0.6562 MB / 1.18 GB, free: 7.277 MB / 0.9356 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.0006231/1.29, allocations: 139.1 kB / 1.181 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0221/1.312, allocations: 5.128 MB / 1.186 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.312, allocations: 0 / 1.186 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01324/1.326, allocations: 3.359 MB / 1.189 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.33, allocations: 0.5162 MB / 1.189 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.343, allocations: 5.011 MB / 1.194 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/1.345, allocations: 1.564 MB / 1.196 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002113/1.347, allocations: 382.4 kB / 1.196 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/1.348, allocations: 107.4 kB / 1.196 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of SimCode: time 1.593e-06/1.348, allocations: 0 / 1.196 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of Templates: time 0.07972/1.427, allocations: 43.32 MB / 1.239 GB, free: 11.91 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches