Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008963, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009457/0.0009458, allocations: 179 kB / 16.27 MB, free: 6.664 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 462.7 MB / 0.7364 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12.34 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3605, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005848/0.3664, allocations: 4.809 MB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005717/0.3721, allocations: 3.766 MB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.3725, allocations: 11.94 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000933/0.3735, allocations: 227 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.3747, allocations: 413.2 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.3753, allocations: 246.7 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3765, allocations: 0.9076 MB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.3779, allocations: 0.8372 MB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.3783, allocations: 287.2 kB / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.3788, allocations: 286.9 kB / 1.07 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.3788, allocations: 16 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.3795, allocations: 331.4 kB / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3797, allocations: 143.5 kB / 1.071 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.38, allocations: 232.6 kB / 1.071 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.381, allocations: 0.8099 MB / 1.072 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.381, allocations: 0 / 1.072 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.585e-06/0.381, allocations: 0 / 1.072 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.381, allocations: 4 kB / 1.072 GB, free: 8.07 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001396/0.3824, allocations: 0.7324 MB / 1.072 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3825, allocations: 8.031 kB / 1.072 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.3854, allocations: 0.7023 MB / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.3863, allocations: 472.2 kB / 1.074 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3863, allocations: 21.03 kB / 1.074 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.3864, allocations: 40.12 kB / 1.074 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3881, allocations: 0.8395 MB / 1.074 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3881, allocations: 3.938 kB / 1.074 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.3882, allocations: 15.98 kB / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.3883, allocations: 60.58 kB / 1.074 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3905, allocations: 0.9506 MB / 1.075 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.3945, allocations: 2.882 MB / 1.078 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3962, allocations: 0.5722 MB / 1.079 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/0.3971, allocations: 322.6 kB / 1.079 GB, free: 124 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3972, allocations: 89.11 kB / 1.079 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.3972, allocations: 30.56 kB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.3972, allocations: 0 / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.01507/0.4123, allocations: 4.033 MB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4124, allocations: 59.41 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.4129, allocations: 425.6 kB / 1.084 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.413, allocations: 33.7 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.4132, allocations: 236.2 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.4133, allocations: 130.1 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.4134, allocations: 37.7 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4135, allocations: 350.8 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4147, allocations: 444.5 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.4158, allocations: 0.5164 MB / 1.085 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.418, allocations: 0.954 MB / 1.086 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.418, allocations: 0 / 1.086 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006113/0.4241, allocations: 1.892 MB / 1.088 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4243, allocations: 144.4 kB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4243, allocations: 0 / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/0.4289, allocations: 1.024 MB / 1.089 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.4296, allocations: 131.8 kB / 1.089 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.44, allocations: 6.196 MB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/0.441, allocations: 115.9 kB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.4411, allocations: 19.98 kB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.4411, allocations: 5.719 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005175/0.4463, allocations: 1.613 MB / 1.097 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4463, allocations: 0 / 1.097 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.4495, allocations: 0.739 MB / 1.098 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.4502, allocations: 143.8 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007993/0.4582, allocations: 5.42 MB / 1.103 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.4591, allocations: 111.9 kB / 1.103 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.4591, allocations: 15.98 kB / 1.103 GB, free: 6.496 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004914/0.4596, allocations: 341.2 kB / 1.104 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.4597, allocations: 39.53 kB / 1.104 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/0.4654, allocations: 1.778 MB / 1.105 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4655, allocations: 8 kB / 1.105 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4655, allocations: 3.938 kB / 1.105 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4655, allocations: 0 / 1.105 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.4719, allocations: 2.469 MB / 1.108 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.4719, allocations: 4 kB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.4723, allocations: 83.84 kB / 1.108 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004094/0.4764, allocations: 0.9418 MB / 1.109 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.4765, allocations: 8 kB / 1.109 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009041/0.4855, allocations: 5.875 MB / 1.115 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.4855, allocations: 8.016 kB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.4908, allocations: 1.721 MB / 1.116 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.4911, allocations: 192.5 kB / 1.116 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.4912, allocations: 15.94 kB / 1.117 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.4918, allocations: 91.86 kB / 1.117 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.492, allocations: 35.95 kB / 1.117 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.4921, allocations: 15.98 kB / 1.117 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004521/0.4925, allocations: 323.1 kB / 1.117 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4925, allocations: 0 / 1.117 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001043/0.4936, allocations: 260 kB / 1.117 GB, free: 7.883 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.4938, allocations: 115.2 kB / 1.117 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006837/0.5007, allocations: 2.529 MB / 1.12 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5007, allocations: 0 / 1.12 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.5033, allocations: 0.9616 MB / 1.121 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/0.5043, allocations: 129.5 kB / 1.121 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5067, allocations: 1.447 MB / 1.122 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.5073, allocations: 0.9529 MB / 1.123 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.5079, allocations: 147.2 kB / 1.123 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.508, allocations: 39.41 kB / 1.123 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of SimCode: time 2.114e-06/0.508, allocations: 0 / 1.123 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of Templates: time 0.02769/0.5357, allocations: 15.77 MB / 1.139 GB, free: 1.754 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches