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.001171/0.001171, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196 kB / 16.79 MB, free: 6.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 68.11 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3291, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01809/0.3473, allocations: 14.71 MB / 1.067 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.3633, allocations: 10.37 MB / 1.077 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.3652, allocations: 51.69 kB / 1.077 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.3697, allocations: 1.578 MB / 1.079 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005834/0.3756, allocations: 1.611 MB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.3779, allocations: 0.6888 MB / 1.081 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.3832, allocations: 3.409 MB / 1.084 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.3859, allocations: 1.341 MB / 1.086 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.3885, allocations: 1.39 MB / 1.087 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.3909, allocations: 1.175 MB / 1.088 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005255/0.3914, allocations: 96 kB / 1.088 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.3938, allocations: 0.8851 MB / 1.089 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009466/0.3948, allocations: 0.5412 MB / 1.09 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.3967, allocations: 0.8858 MB / 1.091 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.3998, allocations: 2.178 MB / 1.093 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3998, allocations: 0 / 1.093 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3999, allocations: 0 / 1.093 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001038/0.4, allocations: 3.938 kB / 1.093 GB, free: 15.2 MB / 0.8575 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.005582/0.4056, allocations: 2.174 MB / 1.095 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4056, allocations: 12.03 kB / 1.095 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.4169, allocations: 2.108 MB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.4198, allocations: 1.213 MB / 1.098 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.4199, allocations: 86.67 kB / 1.098 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/0.4205, allocations: 124.1 kB / 1.098 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/0.4264, allocations: 2.67 MB / 1.101 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.4265, allocations: 11.84 kB / 1.101 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.4267, allocations: 47.98 kB / 1.101 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006355/0.4273, allocations: 194.1 kB / 1.101 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.4347, allocations: 2.795 MB / 1.104 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.4505, allocations: 10.5 MB / 1.114 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006149/0.4566, allocations: 2.336 MB / 1.116 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/0.4597, allocations: 1.276 MB / 1.118 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.971e-05/0.4598, allocations: 16.94 kB / 1.118 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.4598, allocations: 43.56 kB / 1.118 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.4599, allocations: 0 / 1.118 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153): time 0.05804/0.5179, allocations: 16.48 MB / 1.134 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.518, allocations: 72.66 kB / 1.134 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.5196, allocations: 1.176 MB / 1.135 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.5198, allocations: 53.7 kB / 1.135 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.5203, allocations: 0.7436 MB / 1.136 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.5209, allocations: 0.5082 MB / 1.136 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000572/0.5214, allocations: 291.4 kB / 1.137 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5216, allocations: 305.1 kB / 1.137 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/0.5249, allocations: 1.51 MB / 1.138 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.5283, allocations: 1.784 MB / 1.14 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006742/0.5351, allocations: 3.369 MB / 1.143 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5351, allocations: 3.938 kB / 1.143 GB, free: 10 MB / 0.9044 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01294/0.5481, allocations: 5.276 MB / 1.149 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5481, allocations: 10.03 kB / 1.149 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.5482, allocations: 4 kB / 1.149 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/0.5552, allocations: 1.885 MB / 1.15 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.557, allocations: 415.3 kB / 1.151 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02768/0.5847, allocations: 22.18 MB / 1.172 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.5876, allocations: 311.5 kB / 1.173 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.5879, allocations: 63.97 kB / 1.173 GB, free: 10.75 MB / 0.9356 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.000966/0.5888, allocations: 469.4 kB / 1.173 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.5893, allocations: 173.9 kB / 1.173 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.6025, allocations: 5.324 MB / 1.179 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6026, allocations: 16 kB / 1.179 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-05/0.6026, allocations: 16 kB / 1.179 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.6027, allocations: 11.92 kB / 1.179 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.619, allocations: 7.426 MB / 1.186 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.6191, allocations: 0 / 1.186 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.6207, allocations: 359.8 kB / 1.186 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/0.627, allocations: 1.712 MB / 1.188 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.6272, allocations: 43.91 kB / 1.188 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02602/0.6532, allocations: 21.35 MB / 1.209 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6533, allocations: 4 kB / 1.209 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/0.6654, allocations: 4.885 MB / 1.214 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.6667, allocations: 494.8 kB / 1.214 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.667, allocations: 31.98 kB / 1.214 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/0.669, allocations: 315.5 kB / 1.214 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000634/0.6696, allocations: 153 kB / 1.215 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.6698, allocations: 51.97 kB / 1.215 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001128/0.6709, allocations: 0.7937 MB / 1.215 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6709, allocations: 0 / 1.215 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002319/0.6732, allocations: 0.6602 MB / 1.216 GB, free: 13.14 MB / 0.9825 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.0003193/0.6736, allocations: 141.4 kB / 1.216 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.6845, allocations: 5.132 MB / 1.221 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.6845, allocations: 0 / 1.221 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.007/0.6915, allocations: 3.359 MB / 1.224 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.6943, allocations: 0.5251 MB / 1.225 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7044, allocations: 5.113 MB / 1.23 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.7059, allocations: 1.572 MB / 1.231 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/0.7066, allocations: 127.3 kB / 1.232 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/0.7067, allocations: 0 / 1.232 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Templates: time 0.5864/1.293, allocations: 85.7 MB / 1.315 GB, free: 135.1 MB / 0.9981 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 -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