Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001831/0.001831, allocations: 81.23 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.002238/0.002238, allocations: 162.3 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.716/2.716, allocations: 359 MB / 0.6037 GB, free: 15.03 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.344e-05, allocations: 2.281 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008665/0.008688, allocations: 5.892 MB / 0.9567 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005962/0.01465, allocations: 3.125 MB / 0.9598 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.01505, allocations: 47.56 kB / 0.9598 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002723/0.01778, allocations: 0.9253 MB / 0.9607 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.01911, allocations: 0.497 MB / 0.9612 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.02041, allocations: 0.5049 MB / 0.9617 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.02182, allocations: 1.135 MB / 0.9628 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008179/0.02264, allocations: 0.5061 MB / 0.9633 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/0.02352, allocations: 0.6078 MB / 0.9639 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.0242, allocations: 438.7 kB / 0.9643 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.02431, allocations: 60 kB / 0.9644 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008284/0.02513, allocations: 446.8 kB / 0.9648 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.02547, allocations: 311.1 kB / 0.9651 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.02583, allocations: 271.3 kB / 0.9654 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.02731, allocations: 1.211 MB / 0.9665 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02732, allocations: 0 / 0.9665 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.91e-07/0.02732, allocations: 4 kB / 0.9665 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.02733, allocations: 4 kB / 0.9665 GB, free: 11.6 MB / 0.8731 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.001777/0.02911, allocations: 0.9908 MB / 0.9675 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.02915, allocations: 19.95 kB / 0.9675 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.03079, allocations: 228.2 kB / 0.9677 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.03189, allocations: 0.5197 MB / 0.9683 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.03194, allocations: 53.59 kB / 0.9683 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.03207, allocations: 60.38 kB / 0.9684 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.03375, allocations: 1.134 MB / 0.9695 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.03378, allocations: 12.06 kB / 0.9695 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.03386, allocations: 32.36 kB / 0.9695 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.03396, allocations: 69.22 kB / 0.9696 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.03509, allocations: 0.6918 MB / 0.9703 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005065/0.04016, allocations: 4.394 MB / 0.9745 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.04101, allocations: 413.9 kB / 0.9749 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/0.04189, allocations: 384.6 kB / 0.9753 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.04192, allocations: 7.984 kB / 0.9753 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.04196, allocations: 38.56 kB / 0.9754 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.04197, allocations: 0 / 0.9754 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.00464/0.04661, allocations: 1.726 MB / 0.977 GB, free: 472 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.04666, allocations: 55.41 kB / 0.9771 GB, free: 404 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.0472, allocations: 446 kB / 0.9775 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.04724, allocations: 29.7 kB / 0.9775 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.04755, allocations: 403.9 kB / 0.9779 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.04771, allocations: 150.7 kB / 0.9781 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.04789, allocations: 114.2 kB / 0.9782 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.04811, allocations: 366.7 kB / 0.9785 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.04851, allocations: 245.2 kB / 0.9788 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.04909, allocations: 453 kB / 0.9792 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.05014, allocations: 0.7519 MB / 0.9799 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.05015, allocations: 0 / 0.9799 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002058/0.05221, allocations: 1.043 MB / 0.981 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.05223, allocations: 12.06 kB / 0.981 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.05224, allocations: 12 kB / 0.981 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.05336, allocations: 323.1 kB / 0.9813 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.0537, allocations: 99.81 kB / 0.9814 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/0.06183, allocations: 6.957 MB / 0.9882 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.06227, allocations: 36.11 kB / 0.9882 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.06233, allocations: 31.98 kB / 0.9882 GB, free: 4.301 MB / 0.8887 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.0003589/0.06269, allocations: 241.5 kB / 0.9885 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.06279, allocations: 63.61 kB / 0.9885 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.06469, allocations: 0.8923 MB / 0.9894 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.0647, allocations: 4.281 kB / 0.9894 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.06471, allocations: 4 kB / 0.9894 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.06471, allocations: 7.922 kB / 0.9894 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.06751, allocations: 1.514 MB / 0.9909 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.06752, allocations: 4.031 kB / 0.9909 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.0677, allocations: 47.91 kB / 0.9909 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.06873, allocations: 319.1 kB / 0.9912 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.06876, allocations: 4 kB / 0.9913 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007709/0.07647, allocations: 6.969 MB / 0.9981 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.07647, allocations: 4 kB / 0.9981 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.07834, allocations: 0.9879 MB / 0.999 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.07857, allocations: 99.52 kB / 0.9991 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.07864, allocations: 12 kB / 0.9991 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.07893, allocations: 19.97 kB / 0.9991 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.07907, allocations: 47.86 kB / 0.9992 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.0791, allocations: 8.281 kB / 0.9992 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003388/0.07944, allocations: 290.9 kB / 0.9995 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8.1e-08/0.07944, allocations: 0 / 0.9995 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007818/0.08022, allocations: 199.9 kB / 0.9997 GB, free: 8.027 MB / 0.9044 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.0001526/0.08037, allocations: 111.1 kB / 0.9998 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.08231, allocations: 1.148 MB / 1.001 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.08232, allocations: 0 / 1.001 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.08362, allocations: 0.8463 MB / 1.002 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.08465, allocations: 200.8 kB / 1.002 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.08681, allocations: 1.228 MB / 1.003 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.08728, allocations: 406.9 kB / 1.004 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.08754, allocations: 93 kB / 1.004 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.08763, allocations: 36.5 kB / 1.004 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of SimCode: time 6.62e-07/0.08763, allocations: 0 / 1.004 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of Templates: time 0.01976/0.1074, allocations: 10.38 MB / 1.014 GB, free: 9.645 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.05178490281105]