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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 113.8 kB / 17.08 MB, free: 5.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0176/1.13, allocations: 14.79 MB / 1.277 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01824/1.148, allocations: 10.35 MB / 1.287 GB, free: 6.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/1.15, allocations: 53.28 kB / 1.287 GB, free: 6.723 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/1.155, allocations: 1.693 MB / 1.289 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007485/1.163, allocations: 1.818 MB / 1.291 GB, free: 4.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/1.165, allocations: 0.7528 MB / 1.291 GB, free: 4.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006178/1.172, allocations: 2.746 MB / 1.294 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003867/1.175, allocations: 1.426 MB / 1.295 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/1.18, allocations: 1.499 MB / 1.297 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/1.183, allocations: 1.155 MB / 1.298 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004663/1.184, allocations: 160.6 kB / 1.298 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/1.187, allocations: 0.7907 MB / 1.299 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/1.188, allocations: 0.6108 MB / 1.3 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/1.19, allocations: 0.9523 MB / 1.3 GB, free: 224 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006564/1.196, allocations: 2.778 MB / 1.303 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.196, allocations: 0 / 1.303 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.086e-06/1.196, allocations: 0 / 1.303 GB, free: 15.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001001/1.196, allocations: 1.344 kB / 1.303 GB, free: 15.24 MB / 1.029 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.006894/1.203, allocations: 2.226 MB / 1.305 GB, free: 13.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/1.203, allocations: 10.12 kB / 1.305 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/1.217, allocations: 2.111 MB / 1.307 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/1.221, allocations: 1.322 MB / 1.309 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/1.221, allocations: 86.25 kB / 1.309 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/1.222, allocations: 127.8 kB / 1.309 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/1.229, allocations: 2.668 MB / 1.312 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/1.229, allocations: 11.72 kB / 1.312 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/1.229, allocations: 49.77 kB / 1.312 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000713/1.23, allocations: 199.4 kB / 1.312 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008486/1.238, allocations: 2.793 MB / 1.314 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/1.256, allocations: 10.47 MB / 1.325 GB, free: 3.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007515/1.264, allocations: 2.343 MB / 1.327 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/1.267, allocations: 1.278 MB / 1.328 GB, free: 2.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/1.267, allocations: 10.78 kB / 1.328 GB, free: 2.766 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/1.268, allocations: 43.73 kB / 1.328 GB, free: 2.719 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 3.567e-06/1.268, allocations: 0 / 1.328 GB, free: 2.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.06255/1.33, allocations: 16.54 MB / 1.344 GB, free: 10.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/1.33, allocations: 68.12 kB / 1.345 GB, free: 10.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/1.332, allocations: 1.17 MB / 1.346 GB, free: 9.938 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003384/1.333, allocations: 50.36 kB / 1.346 GB, free: 9.887 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/1.333, allocations: 0.7678 MB / 1.346 GB, free: 9.203 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/1.334, allocations: 0.5404 MB / 1.347 GB, free: 8.723 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006409/1.335, allocations: 287.7 kB / 1.347 GB, free: 8.562 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.335, allocations: 306.2 kB / 1.348 GB, free: 8.262 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/1.338, allocations: 1.507 MB / 1.349 GB, free: 7.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/1.343, allocations: 1.784 MB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008101/1.351, allocations: 3.37 MB / 1.354 GB, free: 4.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.351, allocations: 2.188 kB / 1.354 GB, free: 4.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01471/1.365, allocations: 5.279 MB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/1.366, allocations: 9.125 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.366, allocations: 6.719 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007323/1.373, allocations: 1.882 MB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.375, allocations: 412.6 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03214/1.407, allocations: 24.15 MB / 1.385 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/1.411, allocations: 311.6 kB / 1.385 GB, free: 8.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/1.411, allocations: 63.97 kB / 1.385 GB, free: 8.344 MB / 1.076 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.001212/1.412, allocations: 469.4 kB / 1.386 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/1.413, allocations: 186.8 kB / 1.386 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/1.427, allocations: 5.32 MB / 1.391 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.427, allocations: 16 kB / 1.391 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.706e-05/1.427, allocations: 20 kB / 1.391 GB, free: 2.285 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/1.427, allocations: 7.969 kB / 1.391 GB, free: 2.277 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.445, allocations: 7.423 MB / 1.399 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.445, allocations: 3.938 kB / 1.399 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.447, allocations: 347.4 kB / 1.399 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006254/1.454, allocations: 1.701 MB / 1.401 GB, free: 8.664 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.454, allocations: 51.94 kB / 1.401 GB, free: 8.613 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03044/1.484, allocations: 23.34 MB / 1.423 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.484, allocations: 0 / 1.423 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.498, allocations: 4.896 MB / 1.428 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.499, allocations: 0.4958 MB / 1.429 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.499, allocations: 24 kB / 1.429 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.502, allocations: 319.4 kB / 1.429 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/1.502, allocations: 153 kB / 1.429 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.503, allocations: 55.97 kB / 1.429 GB, free: 10.12 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001306/1.504, allocations: 0.7899 MB / 1.43 GB, free: 9.332 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.7e-07/1.504, allocations: 3.938 kB / 1.43 GB, free: 9.328 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002756/1.507, allocations: 0.6523 MB / 1.431 GB, free: 8.676 MB / 1.123 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.0003676/1.507, allocations: 147.1 kB / 1.431 GB, free: 8.523 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.52, allocations: 5.155 MB / 1.436 GB, free: 3.262 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.52, allocations: 4.125 kB / 1.436 GB, free: 3.258 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007767/1.528, allocations: 3.363 MB / 1.439 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/1.531, allocations: 0.5613 MB / 1.44 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.542, allocations: 4.468 MB / 1.444 GB, free: 10.72 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.544, allocations: 1.568 MB / 1.445 GB, free: 9.117 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/1.544, allocations: 131.3 kB / 1.446 GB, free: 8.988 MB / 1.139 GB Notification: Performance of SimCode: time 3.076e-06/1.544, allocations: 0 / 1.446 GB, free: 8.988 MB / 1.139 GB Notification: Performance of Templates: time 0.1043/1.649, allocations: 85.83 MB / 1.529 GB, free: 3.219 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.96945191291161]