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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 94.47 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002607/0.002607, allocations: 161.3 kB / 22.76 MB, free: 1.652 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.458e-06/4.458e-06, allocations: 3.984 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/3.055e-05, allocations: 6.219 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02082/0.02085, allocations: 13.1 MB / 0.8904 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.03796, allocations: 9.004 MB / 0.8992 GB, free: 368 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.03936, allocations: 91.19 kB / 0.8993 GB, free: 276 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005466/0.04483, allocations: 1.661 MB / 0.9009 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.04984, allocations: 1.626 MB / 0.9025 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.05203, allocations: 0.7636 MB / 0.9032 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.05627, allocations: 2.605 MB / 0.9058 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.05866, allocations: 1.188 MB / 0.9069 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003561/0.06222, allocations: 1.575 MB / 0.9085 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.06434, allocations: 0.9582 MB / 0.9094 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004555/0.06479, allocations: 164 kB / 0.9096 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.06663, allocations: 0.7404 MB / 0.9103 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000963/0.06759, allocations: 0.6542 MB / 0.9109 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.06897, allocations: 0.6469 MB / 0.9116 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.07361, allocations: 2.788 MB / 0.9143 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.07362, allocations: 0 / 0.9143 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.07362, allocations: 0 / 0.9143 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.568e-05/0.0737, allocations: 0 / 0.9143 GB, free: 0.8242 MB / 0.8698 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.005364/0.07907, allocations: 2.086 MB / 0.9163 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.07911, allocations: 15.97 kB / 0.9163 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.09189, allocations: 2.312 MB / 0.9186 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.09483, allocations: 1.238 MB / 0.9198 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.09495, allocations: 82.73 kB / 0.9199 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/0.09537, allocations: 128.4 kB / 0.92 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007527/0.1029, allocations: 2.904 MB / 0.9228 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.103, allocations: 7.938 kB / 0.9228 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.1032, allocations: 51.98 kB / 0.9229 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000748/0.1039, allocations: 186.1 kB / 0.9231 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008553/0.1125, allocations: 2.799 MB / 0.9258 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.1302, allocations: 8.242 MB / 0.9338 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007826/0.138, allocations: 2.239 MB / 0.936 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/0.1417, allocations: 1.214 MB / 0.9372 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1418, allocations: 16.98 kB / 0.9372 GB, free: 8.832 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.1419, allocations: 51.56 kB / 0.9373 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 3.317e-06/0.1419, allocations: 0 / 0.9373 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=131): time 0.05397/0.1958, allocations: 12.92 MB / 0.9499 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.1959, allocations: 68.72 kB / 0.95 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.1977, allocations: 0.9756 MB / 0.9509 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.1979, allocations: 45.7 kB / 0.951 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/0.1986, allocations: 0.7433 MB / 0.9517 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/0.1992, allocations: 460 kB / 0.9521 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.1999, allocations: 255.5 kB / 0.9524 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.2001, allocations: 361.9 kB / 0.9527 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/0.204, allocations: 1.366 MB / 0.954 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004141/0.2081, allocations: 1.62 MB / 0.9556 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.2164, allocations: 3.022 MB / 0.9586 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.2164, allocations: 0 / 0.9586 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01476/0.2312, allocations: 4.561 MB / 0.963 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.2312, allocations: 8 kB / 0.963 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.2312, allocations: 8 kB / 0.963 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009623/0.2409, allocations: 1.841 MB / 0.9648 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.2433, allocations: 439.2 kB / 0.9653 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03662/0.28, allocations: 25.26 MB / 0.9899 GB, free: 1.137 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.2827, allocations: 311.5 kB / 0.9902 GB, free: 0.832 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.283, allocations: 55.97 kB / 0.9903 GB, free: 0.7773 MB / 0.948 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.001128/0.2842, allocations: 442.5 kB / 0.9907 GB, free: 344 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.2848, allocations: 195.1 kB / 0.9909 GB, free: 148 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/0.2994, allocations: 4.514 MB / 0.9953 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.2995, allocations: 12 kB / 0.9953 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-05/0.2995, allocations: 16 kB / 0.9953 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.2995, allocations: 11.91 kB / 0.9953 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.3184, allocations: 6.281 MB / 1.001 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.3184, allocations: 7.984 kB / 1.001 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.3204, allocations: 375.7 kB / 1.002 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008809/0.3292, allocations: 1.752 MB / 1.004 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.3295, allocations: 43.97 kB / 1.004 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03344/0.3629, allocations: 24.1 MB / 1.027 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.3629, allocations: 4 kB / 1.027 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/0.3767, allocations: 4.315 MB / 1.031 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.378, allocations: 382.8 kB / 1.032 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/0.3785, allocations: 24 kB / 1.032 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/0.381, allocations: 311.4 kB / 1.032 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005497/0.3816, allocations: 132.7 kB / 1.032 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.3818, allocations: 47.97 kB / 1.032 GB, free: 4.207 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001205/0.383, allocations: 0.6544 MB / 1.033 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.383, allocations: 0 / 1.033 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002843/0.3858, allocations: 0.582 MB / 1.033 GB, free: 2.965 MB / 0.9948 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.0003863/0.3862, allocations: 143.1 kB / 1.034 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01301/0.3992, allocations: 5.014 MB / 1.038 GB, free: 13.63 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.3992, allocations: 4 kB / 1.038 GB, free: 13.63 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.009102/0.4083, allocations: 3.447 MB / 1.042 GB, free: 10.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.4111, allocations: 0.5233 MB / 1.042 GB, free: 9.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4212, allocations: 4.065 MB / 1.046 GB, free: 5.363 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.4227, allocations: 0.8789 MB / 1.047 GB, free: 4.449 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001726/0.4244, allocations: 404.4 kB / 1.048 GB, free: 4.051 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/0.4249, allocations: 116.4 kB / 1.048 GB, free: 3.938 MB / 1.01 GB Notification: Performance of SimCode: time 1.292e-06/0.4249, allocations: 0 / 1.048 GB, free: 3.938 MB / 1.01 GB Notification: Performance of Templates: time 0.4144/0.8393, allocations: 41.31 MB / 1.088 GB, free: 197.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 10.144331203075126]