Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,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.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, 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.001351/0.001351, allocations: 198.7 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.67 kB / 0.899 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3483, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01901/0.3673, allocations: 13.98 MB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.3825, allocations: 9.384 MB / 1.076 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.3846, allocations: 55.62 kB / 1.076 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004576/0.3892, allocations: 1.564 MB / 1.077 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.395, allocations: 1.4 MB / 1.079 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.3975, allocations: 0.6892 MB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004854/0.4023, allocations: 3.175 MB / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.4051, allocations: 1.356 MB / 1.084 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.4072, allocations: 0.9338 MB / 1.085 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.4096, allocations: 1.14 MB / 1.086 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005399/0.4101, allocations: 100 kB / 1.086 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.4126, allocations: 0.8851 MB / 1.087 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.4136, allocations: 0.5568 MB / 1.087 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.4154, allocations: 0.8704 MB / 1.088 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.4183, allocations: 2.178 MB / 1.09 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4183, allocations: 0 / 1.09 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4183, allocations: 0 / 1.09 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001031/0.4184, allocations: 0 / 1.09 GB, free: 1.934 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.00578/0.4242, allocations: 2.139 MB / 1.092 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.4243, allocations: 11.97 kB / 1.092 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.4358, allocations: 2.093 MB / 1.094 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.4388, allocations: 1.193 MB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.4389, allocations: 90.67 kB / 1.096 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.4394, allocations: 120.1 kB / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006887/0.4463, allocations: 2.682 MB / 1.098 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/0.4464, allocations: 11.84 kB / 1.098 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/0.4467, allocations: 59.95 kB / 1.098 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006385/0.4473, allocations: 178.1 kB / 1.098 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00741/0.4547, allocations: 2.799 MB / 1.101 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.4704, allocations: 10.5 MB / 1.111 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/0.4772, allocations: 2.529 MB / 1.114 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/0.4803, allocations: 1.28 MB / 1.115 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.969e-05/0.4804, allocations: 12.98 kB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.4805, allocations: 47.56 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 2.555e-06/0.4805, allocations: 0 / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=131): time 0.04599/0.5265, allocations: 13.34 MB / 1.128 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.5266, allocations: 68.72 kB / 1.128 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.5285, allocations: 1.129 MB / 1.129 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.5287, allocations: 45.7 kB / 1.129 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.5292, allocations: 0.7116 MB / 1.13 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/0.5297, allocations: 453.4 kB / 1.131 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005644/0.5303, allocations: 259.5 kB / 1.131 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5305, allocations: 357.9 kB / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/0.5337, allocations: 1.339 MB / 1.133 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.5371, allocations: 1.609 MB / 1.134 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006849/0.5439, allocations: 2.987 MB / 1.137 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.544, allocations: 4 kB / 1.137 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01147/0.5554, allocations: 4.45 MB / 1.141 GB, free: 12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.5555, allocations: 8 kB / 1.141 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.5556, allocations: 11.98 kB / 1.141 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/0.5611, allocations: 1.423 MB / 1.143 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.5632, allocations: 443.2 kB / 1.143 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/0.5903, allocations: 24.55 MB / 1.167 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.5928, allocations: 303.6 kB / 1.167 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.5931, allocations: 71.97 kB / 1.168 GB, free: 15.41 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001125/0.5943, allocations: 438.2 kB / 1.168 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/0.5948, allocations: 162 kB / 1.168 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.6063, allocations: 4.453 MB / 1.172 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.6063, allocations: 12 kB / 1.172 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-05/0.6064, allocations: 16 kB / 1.172 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.6064, allocations: 7.969 kB / 1.172 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.622, allocations: 6.762 MB / 1.179 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.6221, allocations: 352 / 1.179 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.6238, allocations: 387.3 kB / 1.179 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004953/0.6288, allocations: 1.306 MB / 1.181 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.629, allocations: 39.97 kB / 1.181 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0244/0.6534, allocations: 23.51 MB / 1.204 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6534, allocations: 12.09 kB / 1.204 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.6641, allocations: 4.196 MB / 1.208 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.6652, allocations: 458.9 kB / 1.208 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/0.6657, allocations: 35.92 kB / 1.208 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.6678, allocations: 299.5 kB / 1.209 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/0.6683, allocations: 132.6 kB / 1.209 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.6685, allocations: 51.97 kB / 1.209 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001292/0.6698, allocations: 0.7526 MB / 1.209 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6698, allocations: 0 / 1.209 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002481/0.6723, allocations: 0.5742 MB / 1.21 GB, free: 1.715 MB / 0.9669 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/0.6727, allocations: 141.1 kB / 1.21 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01067/0.6833, allocations: 5.115 MB / 1.215 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.6834, allocations: 0 / 1.215 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.006692/0.6901, allocations: 3.491 MB / 1.219 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.6932, allocations: 0.5184 MB / 1.219 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/0.7028, allocations: 4.779 MB / 1.224 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.7043, allocations: 1.47 MB / 1.225 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.7051, allocations: 139.3 kB / 1.225 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.7051, allocations: 0 / 1.225 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.6599/1.365, allocations: 112.5 MB / 1.335 GB, free: 145.2 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches