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.0007846/0.0007846, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008263/0.0008263, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9082/0.9082, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.657/1.657, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.472e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01072/0.01075, allocations: 13.75 MB / 0.9652 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02094, allocations: 9.818 MB / 0.9747 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009199/0.02186, allocations: 91.19 kB / 0.9748 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.02383, allocations: 1.701 MB / 0.9765 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.02743, allocations: 1.891 MB / 0.9783 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.02871, allocations: 0.7667 MB / 0.9791 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.03117, allocations: 2.835 MB / 0.9819 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.03237, allocations: 1.188 MB / 0.983 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.03429, allocations: 2.113 MB / 0.9851 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.0353, allocations: 0.9309 MB / 0.986 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.03547, allocations: 156 kB / 0.9861 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.03664, allocations: 0.7327 MB / 0.9869 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.03706, allocations: 0.6347 MB / 0.9875 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.03758, allocations: 0.639 MB / 0.9881 GB, free: 13.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.03974, allocations: 2.777 MB / 0.9908 GB, free: 10.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.03974, allocations: 0 / 0.9908 GB, free: 10.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.485e-06/0.03975, allocations: 3.938 kB / 0.9908 GB, free: 10.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.03977, allocations: 0 / 0.9908 GB, free: 10.82 MB / 0.948 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.002208/0.04198, allocations: 2.116 MB / 0.9929 GB, free: 8.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.04202, allocations: 8.031 kB / 0.9929 GB, free: 8.652 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005394/0.04741, allocations: 2.121 MB / 0.995 GB, free: 6.527 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.04889, allocations: 1.193 MB / 0.9961 GB, free: 5.285 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.04894, allocations: 86.67 kB / 0.9962 GB, free: 5.199 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.0491, allocations: 120.3 kB / 0.9963 GB, free: 5.082 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.05227, allocations: 2.886 MB / 0.9991 GB, free: 2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.0523, allocations: 11.88 kB / 0.9991 GB, free: 1.988 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.0524, allocations: 47.98 kB / 0.9992 GB, free: 1.941 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003072/0.05271, allocations: 194.1 kB / 0.9994 GB, free: 1.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003916/0.05663, allocations: 2.791 MB / 1.002 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007507/0.06413, allocations: 8.106 MB / 1.01 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.06737, allocations: 2.175 MB / 1.012 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.06894, allocations: 1.202 MB / 1.013 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.06899, allocations: 9 kB / 1.013 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.06901, allocations: 47.56 kB / 1.013 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=89): time 2.916e-06/0.06902, allocations: 0 / 1.013 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.02902/0.09804, allocations: 15.99 MB / 1.029 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.09808, allocations: 64.72 kB / 1.029 GB, free: 3.117 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/0.09901, allocations: 1.038 MB / 1.03 GB, free: 2.07 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.35e-05/0.09911, allocations: 53.7 kB / 1.03 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.09954, allocations: 0.7558 MB / 1.031 GB, free: 1.246 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.09985, allocations: 0.5305 MB / 1.031 GB, free: 0.7109 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.1002, allocations: 283.5 kB / 1.032 GB, free: 436 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.1003, allocations: 301.1 kB / 1.032 GB, free: 132 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.1021, allocations: 1.51 MB / 1.033 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.1042, allocations: 1.784 MB / 1.035 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/0.1082, allocations: 3.369 MB / 1.038 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1083, allocations: 7.938 kB / 1.038 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007428/0.1157, allocations: 5.184 MB / 1.044 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.1157, allocations: 11.94 kB / 1.044 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.1157, allocations: 12.86 kB / 1.044 GB, free: 4.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/0.1194, allocations: 1.88 MB / 1.045 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.1204, allocations: 415.2 kB / 1.046 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5103/0.6307, allocations: 22.83 MB / 1.068 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.6323, allocations: 307 kB / 1.068 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.6324, allocations: 68.88 kB / 1.068 GB, free: 116.4 MB / 0.9948 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.0006806/0.6331, allocations: 463.7 kB / 1.069 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.6333, allocations: 171.5 kB / 1.069 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006608/0.6399, allocations: 5.247 MB / 1.074 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6399, allocations: 17.16 kB / 1.074 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/0.64, allocations: 19.42 kB / 1.074 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.64, allocations: 10.5 kB / 1.074 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008528/0.6485, allocations: 6.798 MB / 1.081 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6485, allocations: 2.594 kB / 1.081 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.6493, allocations: 355.4 kB / 1.081 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/0.6529, allocations: 1.704 MB / 1.083 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.653, allocations: 44.3 kB / 1.083 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.6699, allocations: 22 MB / 1.104 GB, free: 96.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6699, allocations: 3.359 kB / 1.104 GB, free: 96.51 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007852/0.6777, allocations: 4.805 MB / 1.109 GB, free: 94.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/0.6786, allocations: 409.4 kB / 1.109 GB, free: 94.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.6787, allocations: 34.23 kB / 1.109 GB, free: 94.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6799, allocations: 317.2 kB / 1.11 GB, free: 94.58 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000602/0.6805, allocations: 162 kB / 1.11 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-05/0.6806, allocations: 55.48 kB / 1.11 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007377/0.6813, allocations: 0.6862 MB / 1.111 GB, free: 94.25 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6813, allocations: 4 kB / 1.111 GB, free: 94.25 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00185/0.6832, allocations: 0.6551 MB / 1.111 GB, free: 94.18 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 (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.0002616/0.6834, allocations: 138.5 kB / 1.111 GB, free: 94.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007111/0.6905, allocations: 4.92 MB / 1.116 GB, free: 91.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6905, allocations: 1.344 kB / 1.116 GB, free: 91.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004841/0.6954, allocations: 3.265 MB / 1.119 GB, free: 90.24 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6972, allocations: 0.5182 MB / 1.12 GB, free: 90.07 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.7044, allocations: 4.447 MB / 1.124 GB, free: 88.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.7056, allocations: 0.9881 MB / 1.125 GB, free: 87.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.7061, allocations: 123.7 kB / 1.125 GB, free: 87.92 MB / 0.9948 GB Notification: Performance of SimCode: time 2.064e-06/0.7061, allocations: 0 / 1.125 GB, free: 87.92 MB / 0.9948 GB Notification: Performance of Templates: time 0.06178/0.7679, allocations: 85.7 MB / 1.209 GB, free: 19.09 MB / 0.9948 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: 12.711305817589164]