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.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.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.001656/0.001656, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001923/0.001923, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9687, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02001/0.9888, allocations: 14.79 MB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0168/1.006, allocations: 10.34 MB / 1.233 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/1.008, allocations: 59.56 kB / 1.233 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004867/1.013, allocations: 1.695 MB / 1.235 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006381/1.019, allocations: 1.806 MB / 1.236 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/1.022, allocations: 0.7523 MB / 1.237 GB, free: 136 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004723/1.026, allocations: 2.752 MB / 1.24 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/1.029, allocations: 1.415 MB / 1.241 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/1.031, allocations: 1.527 MB / 1.243 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/1.034, allocations: 1.16 MB / 1.244 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003192/1.034, allocations: 160 kB / 1.244 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/1.036, allocations: 0.7916 MB / 1.245 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005832/1.036, allocations: 0.5998 MB / 1.245 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/1.037, allocations: 0.9639 MB / 1.246 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003442/1.041, allocations: 2.768 MB / 1.249 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.041, allocations: 0 / 1.249 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/1.041, allocations: 0 / 1.249 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.285e-05/1.041, allocations: 0 / 1.249 GB, free: 3.934 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.004066/1.045, allocations: 2.166 MB / 1.251 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.045, allocations: 12.03 kB / 1.251 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/1.057, allocations: 2.101 MB / 1.253 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/1.06, allocations: 1.311 MB / 1.254 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.101e-05/1.06, allocations: 94.62 kB / 1.255 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/1.061, allocations: 119.8 kB / 1.255 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/1.067, allocations: 2.667 MB / 1.257 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/1.067, allocations: 11.88 kB / 1.257 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.067, allocations: 55.98 kB / 1.257 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007241/1.068, allocations: 190.1 kB / 1.258 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/1.076, allocations: 2.795 MB / 1.26 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/1.091, allocations: 10.46 MB / 1.27 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006601/1.098, allocations: 2.352 MB / 1.273 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/1.101, allocations: 1.276 MB / 1.274 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/1.101, allocations: 13 kB / 1.274 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.101, allocations: 51.44 kB / 1.274 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.945e-06/1.101, allocations: 0 / 1.274 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06124/1.162, allocations: 16.48 MB / 1.29 GB, free: 8.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/1.162, allocations: 72.66 kB / 1.29 GB, free: 8.645 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/1.164, allocations: 1.176 MB / 1.291 GB, free: 7.457 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/1.164, allocations: 53.7 kB / 1.291 GB, free: 7.398 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.165, allocations: 0.7476 MB / 1.292 GB, free: 6.645 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/1.165, allocations: 0.5159 MB / 1.293 GB, free: 6.121 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/1.166, allocations: 287.4 kB / 1.293 GB, free: 5.836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.166, allocations: 305.1 kB / 1.293 GB, free: 5.535 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.169, allocations: 1.507 MB / 1.295 GB, free: 4.027 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/1.173, allocations: 1.784 MB / 1.296 GB, free: 2.148 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007357/1.181, allocations: 3.369 MB / 1.3 GB, free: 14.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.181, allocations: 4 kB / 1.3 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01368/1.194, allocations: 5.272 MB / 1.305 GB, free: 9.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/1.194, allocations: 8 kB / 1.305 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.194, allocations: 8.875 kB / 1.305 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006857/1.201, allocations: 1.885 MB / 1.307 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.204, allocations: 411.2 kB / 1.307 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02939/1.233, allocations: 24.12 MB / 1.331 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.236, allocations: 307.5 kB / 1.331 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.236, allocations: 76.06 kB / 1.331 GB, free: 13.43 MB / 1.061 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.001049/1.237, allocations: 469.3 kB / 1.332 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/1.238, allocations: 173.9 kB / 1.332 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.252, allocations: 5.316 MB / 1.337 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/1.252, allocations: 16 kB / 1.337 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/1.252, allocations: 20 kB / 1.337 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/1.252, allocations: 11.97 kB / 1.337 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.27, allocations: 7.431 MB / 1.344 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/1.27, allocations: 4 kB / 1.344 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/1.272, allocations: 351.4 kB / 1.345 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006238/1.278, allocations: 1.701 MB / 1.346 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003323/1.278, allocations: 51.98 kB / 1.346 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02729/1.306, allocations: 23.31 MB / 1.369 GB, free: 5.27 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.306, allocations: 7.938 kB / 1.369 GB, free: 5.262 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.318, allocations: 4.887 MB / 1.374 GB, free: 296 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.319, allocations: 494.8 kB / 1.374 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/1.319, allocations: 28 kB / 1.374 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.322, allocations: 319.5 kB / 1.375 GB, free: 15.44 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005663/1.322, allocations: 149.5 kB / 1.375 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.322, allocations: 55.97 kB / 1.375 GB, free: 15.24 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001088/1.323, allocations: 0.7899 MB / 1.376 GB, free: 14.45 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.323, allocations: 0 / 1.376 GB, free: 14.45 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002187/1.326, allocations: 0.6523 MB / 1.376 GB, free: 13.8 MB / 1.107 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.0003243/1.326, allocations: 143.1 kB / 1.376 GB, free: 13.65 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.337, allocations: 5.144 MB / 1.381 GB, free: 8.398 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.337, allocations: 4.125 kB / 1.381 GB, free: 8.395 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007193/1.344, allocations: 3.362 MB / 1.385 GB, free: 4.934 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.347, allocations: 0.5566 MB / 1.385 GB, free: 4.398 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/1.357, allocations: 4.394 MB / 1.389 GB, free: 15.94 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.358, allocations: 1.564 MB / 1.391 GB, free: 14.33 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/1.359, allocations: 131.3 kB / 1.391 GB, free: 14.2 MB / 1.123 GB Notification: Performance of SimCode: time 9.42e-07/1.359, allocations: 0 / 1.391 GB, free: 14.2 MB / 1.123 GB Notification: Performance of Templates: time 0.08906/1.448, allocations: 85.85 MB / 1.475 GB, free: 8.418 MB / 1.201 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