Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007172/0.007172, allocations: 100.6 kB / 15.73 MB, free: 6.059 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.001716/0.001716, allocations: 198.8 kB / 16.68 MB, free: 5.984 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.11 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01658/0.3615, allocations: 14.09 MB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.3777, allocations: 9.41 MB / 1.244 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.3798, allocations: 55.62 kB / 1.244 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005032/0.3848, allocations: 1.68 MB / 1.245 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006155/0.3909, allocations: 1.587 MB / 1.247 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.3936, allocations: 0.7549 MB / 1.248 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7828/1.176, allocations: 2.508 MB / 1.25 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/1.179, allocations: 1.125 MB / 1.251 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/1.181, allocations: 1.073 MB / 1.252 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.184, allocations: 1.14 MB / 1.253 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004628/1.184, allocations: 164.6 kB / 1.253 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/1.187, allocations: 0.7859 MB / 1.254 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007213/1.187, allocations: 0.6351 MB / 1.255 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/1.188, allocations: 0.9491 MB / 1.256 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/1.192, allocations: 2.761 MB / 1.258 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.192, allocations: 0 / 1.258 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.192, allocations: 0 / 1.258 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.847e-05/1.192, allocations: 2.469 kB / 1.258 GB, free: 8.562 MB / 0.9981 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.00425/1.197, allocations: 2.193 MB / 1.261 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.197, allocations: 11.25 kB / 1.261 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.208, allocations: 2.091 MB / 1.263 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/1.212, allocations: 1.304 MB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.212, allocations: 90.41 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005178/1.212, allocations: 114 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006933/1.219, allocations: 2.691 MB / 1.267 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/1.219, allocations: 6.844 kB / 1.267 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/1.219, allocations: 52.95 kB / 1.267 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006683/1.22, allocations: 181.7 kB / 1.267 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009116/1.229, allocations: 2.797 MB / 1.27 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/1.248, allocations: 10.49 MB / 1.28 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/1.256, allocations: 2.444 MB / 1.282 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/1.259, allocations: 1.213 MB / 1.283 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/1.259, allocations: 14.47 kB / 1.283 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/1.259, allocations: 42.5 kB / 1.284 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.196e-06/1.259, allocations: 0 / 1.284 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.05092/1.31, allocations: 13.34 MB / 1.297 GB, free: 13.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.31, allocations: 70.12 kB / 1.297 GB, free: 13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.313, allocations: 1.115 MB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003932/1.313, allocations: 46.58 kB / 1.298 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007993/1.314, allocations: 0.7269 MB / 1.298 GB, free: 11.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000858/1.315, allocations: 483.1 kB / 1.299 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009705/1.316, allocations: 259 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.316, allocations: 365.6 kB / 1.3 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/1.32, allocations: 1.341 MB / 1.301 GB, free: 10.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/1.323, allocations: 1.602 MB / 1.302 GB, free: 10.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006932/1.33, allocations: 2.998 MB / 1.305 GB, free: 8.863 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/1.33, allocations: 2.188 kB / 1.305 GB, free: 8.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01225/1.342, allocations: 4.401 MB / 1.31 GB, free: 6.523 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/1.342, allocations: 12.5 kB / 1.31 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/1.343, allocations: 7.5 kB / 1.31 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005506/1.348, allocations: 1.433 MB / 1.311 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.35, allocations: 435.1 kB / 1.311 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02909/1.379, allocations: 26.7 MB / 1.338 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.382, allocations: 302.7 kB / 1.338 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/1.383, allocations: 58.28 kB / 1.338 GB, free: 13.59 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.001504/1.384, allocations: 439.6 kB / 1.338 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000735/1.385, allocations: 177 kB / 1.338 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.397, allocations: 4.407 MB / 1.343 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.397, allocations: 13.97 kB / 1.343 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.52e-05/1.397, allocations: 13.19 kB / 1.343 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/1.398, allocations: 7.984 kB / 1.343 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.416, allocations: 6.715 MB / 1.349 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.416, allocations: 3.125 kB / 1.349 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.417, allocations: 377.9 kB / 1.35 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004986/1.422, allocations: 1.303 MB / 1.351 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003242/1.423, allocations: 40.94 kB / 1.351 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/1.449, allocations: 25.51 MB / 1.376 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.449, allocations: 7.188 kB / 1.376 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.461, allocations: 4.162 MB / 1.38 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.462, allocations: 467.8 kB / 1.38 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006092/1.462, allocations: 27.94 kB / 1.38 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.465, allocations: 311.5 kB / 1.381 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/1.465, allocations: 129.9 kB / 1.381 GB, free: 8.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.466, allocations: 47.97 kB / 1.381 GB, free: 8.102 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001485/1.467, allocations: 0.7514 MB / 1.382 GB, free: 7.352 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.467, allocations: 0 / 1.382 GB, free: 7.352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003004/1.47, allocations: 0.5703 MB / 1.382 GB, free: 6.781 MB / 1.076 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.0004012/1.47, allocations: 135.5 kB / 1.382 GB, free: 6.648 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.482, allocations: 4.981 MB / 1.387 GB, free: 1.539 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.482, allocations: 0 / 1.387 GB, free: 1.539 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007057/1.489, allocations: 3.435 MB / 1.391 GB, free: 13.96 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.492, allocations: 0.5427 MB / 1.391 GB, free: 13.44 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/1.502, allocations: 4.041 MB / 1.395 GB, free: 9.387 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/1.504, allocations: 1.482 MB / 1.397 GB, free: 7.879 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001853/1.506, allocations: 421.6 kB / 1.397 GB, free: 7.461 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/1.506, allocations: 111.4 kB / 1.397 GB, free: 7.352 MB / 1.092 GB Notification: Performance of SimCode: time 1.142e-06/1.506, allocations: 0 / 1.397 GB, free: 7.352 MB / 1.092 GB Notification: Performance of Templates: time 0.06961/1.576, allocations: 39.59 MB / 1.436 GB, free: 356 kB / 1.123 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches