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.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.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.001342/0.001342, allocations: 107.5 kB / 16.41 MB, free: 6.449 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.001432/0.001432, allocations: 187 kB / 17.34 MB, free: 5.742 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.371/1.371, 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.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01653/1.04, allocations: 14.06 MB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01425/1.054, allocations: 9.399 MB / 1.231 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/1.056, allocations: 55.62 kB / 1.231 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/1.06, allocations: 1.672 MB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/1.064, allocations: 1.532 MB / 1.235 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/1.066, allocations: 0.755 MB / 1.235 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003233/1.07, allocations: 2.52 MB / 1.238 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.071, allocations: 1.411 MB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/1.073, allocations: 1.067 MB / 1.24 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/1.074, allocations: 1.148 MB / 1.241 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/1.075, allocations: 164 kB / 1.241 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/1.076, allocations: 0.7877 MB / 1.242 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005697/1.077, allocations: 0.6193 MB / 1.243 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008885/1.078, allocations: 0.9367 MB / 1.244 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003501/1.081, allocations: 2.759 MB / 1.246 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.081, allocations: 0 / 1.246 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.706e-06/1.081, allocations: 0 / 1.246 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.973e-05/1.081, allocations: 0 / 1.246 GB, free: 6.664 MB / 0.9669 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.004461/1.086, allocations: 2.131 MB / 1.248 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/1.086, allocations: 12.03 kB / 1.248 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.097, allocations: 2.089 MB / 1.251 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/1.101, allocations: 1.294 MB / 1.252 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/1.101, allocations: 86.73 kB / 1.252 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/1.101, allocations: 124 kB / 1.252 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/1.107, allocations: 2.679 MB / 1.255 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/1.107, allocations: 11.94 kB / 1.255 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.107, allocations: 51.98 kB / 1.255 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006276/1.108, allocations: 178.1 kB / 1.255 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007605/1.115, allocations: 2.799 MB / 1.258 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/1.131, allocations: 10.46 MB / 1.268 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007188/1.139, allocations: 2.523 MB / 1.27 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/1.142, allocations: 1.28 MB / 1.271 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.532e-05/1.142, allocations: 16.98 kB / 1.272 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/1.142, allocations: 51.48 kB / 1.272 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.356e-06/1.142, allocations: 0 / 1.272 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04785/1.19, allocations: 13.36 MB / 1.285 GB, free: 14.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/1.19, allocations: 68.72 kB / 1.285 GB, free: 14.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/1.192, allocations: 1.121 MB / 1.286 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/1.192, allocations: 45.7 kB / 1.286 GB, free: 13.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/1.193, allocations: 0.7156 MB / 1.287 GB, free: 12.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/1.194, allocations: 449.4 kB / 1.287 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/1.194, allocations: 263.4 kB / 1.287 GB, free: 11.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.194, allocations: 361.9 kB / 1.288 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/1.198, allocations: 1.343 MB / 1.289 GB, free: 9.965 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/1.201, allocations: 1.601 MB / 1.29 GB, free: 8.266 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007008/1.208, allocations: 2.994 MB / 1.293 GB, free: 5.176 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.208, allocations: 0 / 1.293 GB, free: 5.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01197/1.22, allocations: 4.454 MB / 1.298 GB, free: 0.668 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.221, allocations: 8 kB / 1.298 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.221, allocations: 4 kB / 1.298 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/1.226, allocations: 1.435 MB / 1.299 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/1.228, allocations: 439.2 kB / 1.3 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03005/1.258, allocations: 26.68 MB / 1.326 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/1.261, allocations: 299.5 kB / 1.326 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/1.261, allocations: 67.91 kB / 1.326 GB, free: 1.875 MB / 1.045 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.001189/1.263, allocations: 433.5 kB / 1.326 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/1.263, allocations: 158.1 kB / 1.326 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.275, allocations: 4.457 MB / 1.331 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.275, allocations: 12 kB / 1.331 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-05/1.275, allocations: 15.98 kB / 1.331 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.275, allocations: 7.984 kB / 1.331 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.293, allocations: 6.771 MB / 1.337 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.293, allocations: 4 kB / 1.337 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.295, allocations: 379.4 kB / 1.338 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004714/1.299, allocations: 1.307 MB / 1.339 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/1.3, allocations: 43.97 kB / 1.339 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02642/1.326, allocations: 25.48 MB / 1.364 GB, free: 8.723 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.326, allocations: 3.938 kB / 1.364 GB, free: 8.719 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/1.338, allocations: 4.202 MB / 1.368 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.339, allocations: 459 kB / 1.369 GB, free: 3.953 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004387/1.339, allocations: 24 kB / 1.369 GB, free: 3.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.342, allocations: 311.5 kB / 1.369 GB, free: 3.625 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005554/1.342, allocations: 124.7 kB / 1.369 GB, free: 3.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.343, allocations: 56.14 kB / 1.369 GB, free: 3.445 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001468/1.344, allocations: 0.7526 MB / 1.37 GB, free: 2.691 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.344, allocations: 0 / 1.37 GB, free: 2.691 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00278/1.347, allocations: 0.5664 MB / 1.37 GB, free: 2.125 MB / 1.092 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.0003848/1.347, allocations: 147.1 kB / 1.371 GB, free: 1.973 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.359, allocations: 5.143 MB / 1.376 GB, free: 12.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.359, allocations: 4 kB / 1.376 GB, free: 12.66 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007165/1.366, allocations: 3.484 MB / 1.379 GB, free: 9.004 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/1.369, allocations: 0.5535 MB / 1.379 GB, free: 8.473 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/1.379, allocations: 4.099 MB / 1.383 GB, free: 4.312 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/1.381, allocations: 1.481 MB / 1.385 GB, free: 2.801 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/1.382, allocations: 135.3 kB / 1.385 GB, free: 2.668 MB / 1.107 GB Notification: Performance of SimCode: time 1.162e-06/1.382, allocations: 3.938 kB / 1.385 GB, free: 2.664 MB / 1.107 GB Notification: Performance of Templates: time 0.1159/1.498, allocations: 112.8 MB / 1.495 GB, free: 1.84 MB / 1.217 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