Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001331/0.001331, allocations: 76.94 kB / 19.18 MB, free: 2.52 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.001462/0.001462, allocations: 166.6 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.451/1.451, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.724/2.724, 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.291e-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.ACLineMedium): time 0.01893/0.01895, allocations: 13.73 MB / 0.9644 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.03569, allocations: 9.834 MB / 0.974 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.03698, allocations: 83.25 kB / 0.9741 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.04176, allocations: 1.697 MB / 0.9757 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.04721, allocations: 1.908 MB / 0.9776 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.04922, allocations: 0.7661 MB / 0.9783 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004206/0.05342, allocations: 2.831 MB / 0.9811 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.05529, allocations: 1.188 MB / 0.9823 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.05853, allocations: 2.117 MB / 0.9843 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.06006, allocations: 0.9309 MB / 0.9852 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.06033, allocations: 160 kB / 0.9854 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.06182, allocations: 0.721 MB / 0.9861 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007268/0.06255, allocations: 0.6386 MB / 0.9867 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008693/0.06342, allocations: 0.639 MB / 0.9873 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.0669, allocations: 2.773 MB / 0.99 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.0669, allocations: 4 kB / 0.99 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.0669, allocations: 0 / 0.99 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.162e-05/0.06694, allocations: 0 / 0.99 GB, free: 3.391 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.004145/0.07108, allocations: 2.116 MB / 0.9921 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.07112, allocations: 12.03 kB / 0.9921 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.08407, allocations: 2.117 MB / 0.9942 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.08687, allocations: 1.208 MB / 0.9954 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/0.08694, allocations: 82.69 kB / 0.9954 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.08722, allocations: 116.4 kB / 0.9956 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/0.09389, allocations: 2.882 MB / 0.9984 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.09395, allocations: 19.83 kB / 0.9984 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.09413, allocations: 47.98 kB / 0.9984 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000725/0.09485, allocations: 190.1 kB / 0.9986 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008804/0.1037, allocations: 2.787 MB / 1.001 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.1191, allocations: 8.11 MB / 1.009 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007522/0.1266, allocations: 2.179 MB / 1.011 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/0.1301, allocations: 1.198 MB / 1.013 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.1302, allocations: 9 kB / 1.013 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.1302, allocations: 51.55 kB / 1.013 GB, free: 11.79 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 2.945e-06/0.1302, allocations: 4 kB / 1.013 GB, free: 11.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.06661/0.1968, allocations: 15.98 MB / 1.028 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.1969, allocations: 64.72 kB / 1.028 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.1984, allocations: 1.038 MB / 1.029 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.1986, allocations: 49.7 kB / 1.029 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006983/0.1993, allocations: 0.7597 MB / 1.03 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005789/0.1999, allocations: 0.5344 MB / 1.031 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000628/0.2005, allocations: 287.5 kB / 1.031 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2007, allocations: 301.1 kB / 1.031 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/0.2047, allocations: 1.503 MB / 1.033 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005107/0.2098, allocations: 1.784 MB / 1.034 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/0.2227, allocations: 3.369 MB / 1.038 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/0.2228, allocations: 7.938 kB / 1.038 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01935/0.2421, allocations: 5.192 MB / 1.043 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.2421, allocations: 12 kB / 1.043 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.2422, allocations: 4 kB / 1.043 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00754/0.2497, allocations: 1.88 MB / 1.045 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.252, allocations: 419.2 kB / 1.045 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03388/0.2858, allocations: 22.83 MB / 1.067 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.2887, allocations: 315.7 kB / 1.068 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.2889, allocations: 67.97 kB / 1.068 GB, free: 2.258 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 (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.000948/0.2898, allocations: 462.3 kB / 1.068 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.2902, allocations: 178.9 kB / 1.068 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/0.3053, allocations: 5.244 MB / 1.073 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.3054, allocations: 16 kB / 1.073 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/0.3054, allocations: 20 kB / 1.073 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.3054, allocations: 7.969 kB / 1.073 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.3237, allocations: 6.798 MB / 1.08 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.3237, allocations: 0 / 1.08 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/0.3257, allocations: 359.7 kB / 1.08 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006795/0.3325, allocations: 1.701 MB / 1.082 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/0.3327, allocations: 51.95 kB / 1.082 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4563/0.7891, allocations: 21.98 MB / 1.104 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.7891, allocations: 11.12 kB / 1.104 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.8027, allocations: 4.805 MB / 1.108 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.8038, allocations: 408.6 kB / 1.109 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.8041, allocations: 33.8 kB / 1.109 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/0.8064, allocations: 317.5 kB / 1.109 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/0.8071, allocations: 160.2 kB / 1.109 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.8072, allocations: 54.52 kB / 1.109 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001007/0.8082, allocations: 0.6856 MB / 1.11 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8082, allocations: 0 / 1.11 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002131/0.8104, allocations: 0.6511 MB / 1.111 GB, free: 143.5 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 (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.0003037/0.8107, allocations: 146.9 kB / 1.111 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01132/0.822, allocations: 4.919 MB / 1.115 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.822, allocations: 5.469 kB / 1.115 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007115/0.8291, allocations: 3.267 MB / 1.119 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.8317, allocations: 0.5145 MB / 1.119 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009829/0.8415, allocations: 4.318 MB / 1.123 GB, free: 137.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.843, allocations: 0.9766 MB / 1.124 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001515/0.8446, allocations: 366.6 kB / 1.125 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.8449, allocations: 102.9 kB / 1.125 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.8449, allocations: 0 / 1.125 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05992/0.9049, allocations: 46.63 MB / 1.17 GB, free: 114.5 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.756063636392355]