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.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.00175/0.00175, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001826/0.001826, allocations: 160.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.705/2.705, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.097e-06/4.097e-06, allocations: 3.984 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/2.18e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01782/0.01785, allocations: 13.09 MB / 0.9638 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.03351, allocations: 9.014 MB / 0.9726 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.0348, allocations: 95.19 kB / 0.9726 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005315/0.04012, allocations: 1.663 MB / 0.9743 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.04548, allocations: 1.631 MB / 0.9759 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.04769, allocations: 0.7705 MB / 0.9766 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003809/0.0515, allocations: 2.601 MB / 0.9792 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.0533, allocations: 1.18 MB / 0.9803 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.05584, allocations: 1.582 MB / 0.9818 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.05743, allocations: 0.9582 MB / 0.9828 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.05769, allocations: 160 kB / 0.9829 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.05921, allocations: 0.7404 MB / 0.9837 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006817/0.05989, allocations: 0.6464 MB / 0.9843 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.06075, allocations: 0.6351 MB / 0.9849 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.06428, allocations: 2.769 MB / 0.9876 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.06429, allocations: 0 / 0.9876 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/0.06429, allocations: 0 / 0.9876 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.243e-05/0.06432, allocations: 0 / 0.9876 GB, free: 5.891 MB / 0.8887 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.004132/0.06845, allocations: 2.096 MB / 0.9897 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.06849, allocations: 12.03 kB / 0.9897 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.08092, allocations: 2.098 MB / 0.9917 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.08373, allocations: 1.176 MB / 0.9929 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.08381, allocations: 86.73 kB / 0.993 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.08409, allocations: 120.3 kB / 0.9931 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006784/0.09087, allocations: 2.894 MB / 0.9959 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.09092, allocations: 15.89 kB / 0.9959 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.09109, allocations: 47.98 kB / 0.996 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007455/0.09184, allocations: 182.1 kB / 0.9961 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008518/0.1004, allocations: 2.795 MB / 0.9989 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.1156, allocations: 8.113 MB / 1.007 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007591/0.1232, allocations: 2.219 MB / 1.009 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/0.1268, allocations: 1.217 MB / 1.01 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.1269, allocations: 9 kB / 1.01 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.127, allocations: 47.5 kB / 1.01 GB, free: 14.29 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.127, allocations: 3.938 kB / 1.01 GB, free: 14.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=131): time 0.0511/0.1781, allocations: 12.65 MB / 1.023 GB, free: 1.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1781, allocations: 68.72 kB / 1.023 GB, free: 1.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.1796, allocations: 0.9795 MB / 1.024 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.1798, allocations: 49.7 kB / 1.024 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006321/0.1804, allocations: 0.7318 MB / 1.024 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/0.1809, allocations: 467.9 kB / 1.025 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/0.1815, allocations: 267.5 kB / 1.025 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1817, allocations: 353.9 kB / 1.025 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.1855, allocations: 1.339 MB / 1.027 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004125/0.1896, allocations: 1.608 MB / 1.028 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007958/0.1976, allocations: 2.987 MB / 1.031 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.1976, allocations: 4 kB / 1.031 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01335/0.2109, allocations: 4.385 MB / 1.035 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.211, allocations: 14.64 kB / 1.035 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.211, allocations: 4 kB / 1.035 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/0.2169, allocations: 1.435 MB / 1.037 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.2192, allocations: 439.2 kB / 1.037 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03173/0.2509, allocations: 24.78 MB / 1.061 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.2537, allocations: 303.5 kB / 1.062 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.2539, allocations: 63.95 kB / 1.062 GB, free: 7.676 MB / 0.9669 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.0009118/0.2548, allocations: 429.5 kB / 1.062 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.2551, allocations: 163 kB / 1.062 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.2683, allocations: 4.401 MB / 1.067 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.2683, allocations: 12 kB / 1.067 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.2683, allocations: 12 kB / 1.067 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.2683, allocations: 12.09 kB / 1.067 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.2848, allocations: 6.121 MB / 1.073 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.2848, allocations: 7.938 kB / 1.073 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.2868, allocations: 379.3 kB / 1.073 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/0.292, allocations: 1.315 MB / 1.074 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.2921, allocations: 39.97 kB / 1.074 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02871/0.3209, allocations: 23.67 MB / 1.098 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.3209, allocations: 7.969 kB / 1.098 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4752/0.7961, allocations: 4.138 MB / 1.102 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.7972, allocations: 372.5 kB / 1.102 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.7974, allocations: 26.39 kB / 1.102 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/0.7997, allocations: 306.6 kB / 1.102 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/0.8002, allocations: 134.4 kB / 1.102 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.8003, allocations: 47.75 kB / 1.102 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009889/0.8013, allocations: 0.6503 MB / 1.103 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8013, allocations: 0.8438 kB / 1.103 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00213/0.8035, allocations: 0.5672 MB / 1.104 GB, free: 143.8 MB / 0.9981 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.0003048/0.8038, allocations: 138.6 kB / 1.104 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01175/0.8155, allocations: 4.963 MB / 1.109 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.8155, allocations: 1.312 kB / 1.109 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007171/0.8227, allocations: 3.405 MB / 1.112 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.8252, allocations: 0.5024 MB / 1.112 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009506/0.8347, allocations: 4.032 MB / 1.116 GB, free: 139 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.8361, allocations: 0.8891 MB / 1.117 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001864/0.838, allocations: 406.2 kB / 1.118 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.8384, allocations: 109.4 kB / 1.118 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/0.8384, allocations: 0 / 1.118 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06033/0.8987, allocations: 40.19 MB / 1.157 GB, free: 125.1 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.753927126526833]