Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.002311/0.002311, allocations: 85.48 kB / 19.44 MB, free: 344 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.002802/0.002802, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.541/1.541, allocations: 177.2 MB / 203.1 MB, free: 5.605 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.332/3.332, allocations: 429.5 MB / 0.6729 GB, free: 3.969 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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.761e-05, allocations: 3.719 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00972/0.009747, allocations: 6.205 MB / 0.8835 GB, free: 436 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005984/0.01573, allocations: 3.229 MB / 0.8867 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.01613, allocations: 43.56 kB / 0.8867 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.01893, allocations: 0.9608 MB / 0.8876 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.02013, allocations: 0.4892 MB / 0.8881 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.02138, allocations: 0.5102 MB / 0.8886 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.02299, allocations: 1.127 MB / 0.8897 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008732/0.02387, allocations: 0.5138 MB / 0.8902 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.02479, allocations: 0.6078 MB / 0.8908 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.02549, allocations: 434.8 kB / 0.8912 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.0256, allocations: 63.98 kB / 0.8913 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/0.02647, allocations: 446.7 kB / 0.8917 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.02682, allocations: 303.2 kB / 0.892 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.02719, allocations: 283.3 kB / 0.8923 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.02883, allocations: 1.219 MB / 0.8935 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.02884, allocations: 0 / 0.8935 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02884, allocations: 0 / 0.8935 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.02885, allocations: 0 / 0.8935 GB, free: 6.207 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001869/0.03072, allocations: 1.157 MB / 0.8946 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.03076, allocations: 8.031 kB / 0.8946 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.03242, allocations: 335.7 kB / 0.8949 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.03353, allocations: 0.5537 MB / 0.8955 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.03358, allocations: 49.61 kB / 0.8955 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.0337, allocations: 68.36 kB / 0.8956 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.03539, allocations: 0.9561 MB / 0.8965 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.03543, allocations: 12.08 kB / 0.8965 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.0355, allocations: 32.36 kB / 0.8966 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.0356, allocations: 73.2 kB / 0.8966 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.0364, allocations: 372.6 kB / 0.897 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006109/0.04251, allocations: 5.818 MB / 0.9027 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.04317, allocations: 258.3 kB / 0.9029 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.04391, allocations: 266 kB / 0.9032 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.04395, allocations: 4 kB / 0.9032 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.04423, allocations: 41.39 kB / 0.9032 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.04423, allocations: 0 / 0.9032 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.003992/0.04823, allocations: 1.199 MB / 0.9044 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.04828, allocations: 59.34 kB / 0.9044 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.04891, allocations: 0.5492 MB / 0.905 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.04895, allocations: 37.7 kB / 0.905 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.04932, allocations: 458.7 kB / 0.9054 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.04949, allocations: 166.7 kB / 0.9056 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.0497, allocations: 123.9 kB / 0.9057 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003361/0.05003, allocations: 0.5547 MB / 0.9063 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.05029, allocations: 125.2 kB / 0.9064 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.05083, allocations: 436.7 kB / 0.9068 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.05173, allocations: 0.5961 MB / 0.9074 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.05173, allocations: 4 kB / 0.9074 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001748/0.05348, allocations: 0.7727 MB / 0.9081 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.0535, allocations: 10.5 kB / 0.9082 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.05352, allocations: 8 kB / 0.9082 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.05471, allocations: 278.7 kB / 0.9084 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.05505, allocations: 103.8 kB / 0.9085 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008614/0.06366, allocations: 7.9 MB / 0.9162 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.06409, allocations: 32.16 kB / 0.9163 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.06414, allocations: 32 kB / 0.9163 GB, free: 13.48 MB / 0.8855 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003143/0.06446, allocations: 224.2 kB / 0.9165 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.06459, allocations: 67.67 kB / 0.9166 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.0664, allocations: 0.5907 MB / 0.9172 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.06641, allocations: 7.984 kB / 0.9172 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.06641, allocations: 8 kB / 0.9172 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.06642, allocations: 7.969 kB / 0.9172 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.0691, allocations: 1.282 MB / 0.9184 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.06911, allocations: 7.984 kB / 0.9184 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.06929, allocations: 39.97 kB / 0.9185 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.07041, allocations: 270.9 kB / 0.9187 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.07044, allocations: 8 kB / 0.9187 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00839/0.07883, allocations: 7.881 MB / 0.9264 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.07884, allocations: 4 kB / 0.9264 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.08048, allocations: 0.779 MB / 0.9272 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.08076, allocations: 99.52 kB / 0.9273 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.08085, allocations: 12 kB / 0.9273 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.08113, allocations: 19.97 kB / 0.9273 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.08126, allocations: 51.8 kB / 0.9274 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.08129, allocations: 12 kB / 0.9274 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004049/0.08169, allocations: 346.8 kB / 0.9277 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.08169, allocations: 4 kB / 0.9277 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008318/0.08252, allocations: 200 kB / 0.9279 GB, free: 0.9062 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.08268, allocations: 103.2 kB / 0.928 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.08498, allocations: 1.195 MB / 0.9292 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.08498, allocations: 4 kB / 0.9292 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.08641, allocations: 0.9651 MB / 0.9301 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.08745, allocations: 189.8 kB / 0.9303 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.08979, allocations: 1.206 MB / 0.9315 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.09026, allocations: 382.9 kB / 0.9318 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002503/0.09051, allocations: 81.02 kB / 0.9319 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.0906, allocations: 36.5 kB / 0.932 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of SimCode: time 8.01e-07/0.0906, allocations: 0 / 0.932 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of Templates: time 0.02079/0.1114, allocations: 10.54 MB / 0.9423 GB, free: 2.18 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 8.72040493809618]