Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001273/0.001273, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001845/0.003119, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001184/0.001184, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002729, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09866/1.121, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.456/2.456, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2546/2.71, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.588e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01423/0.01425, allocations: 12.01 MB / 0.83 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.009214/0.02347, allocations: 3.826 MB / 0.8338 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.02605, allocations: 111.2 kB / 0.8339 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.02807, allocations: 0.5237 MB / 0.8344 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.03209, allocations: 1.332 MB / 0.8357 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.03521, allocations: 1.014 MB / 0.8367 GB, free: 15.96 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007675/0.04289, allocations: 5.577 MB / 0.8421 GB, free: 10.37 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004465/0.04735, allocations: 3.201 MB / 0.8453 GB, free: 7.078 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004625/0.05198, allocations: 3.369 MB / 0.8485 GB, free: 3.699 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.0551, allocations: 2.658 MB / 0.8511 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.05556, allocations: 428 kB / 0.8515 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.05658, allocations: 0.5153 MB / 0.8521 GB, free: 104 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.05782, allocations: 1.719 MB / 0.8537 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.0591, allocations: 1.139 MB / 0.8548 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.06205, allocations: 3.214 MB / 0.858 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.06206, allocations: 0 / 0.858 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.352e-06/0.06206, allocations: 0 / 0.858 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.622e-05/0.06213, allocations: 0 / 0.858 GB, free: 10.02 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00373/0.06586, allocations: 3.944 MB / 0.8618 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.0659, allocations: 12.62 kB / 0.8618 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.06764, allocations: 0.8949 MB / 0.8627 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.06965, allocations: 1.558 MB / 0.8642 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.06975, allocations: 218.3 kB / 0.8644 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.07004, allocations: 300.3 kB / 0.8647 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.07273, allocations: 2.865 MB / 0.8675 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/0.07279, allocations: 23.95 kB / 0.8676 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.07297, allocations: 135.9 kB / 0.8677 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.0732, allocations: 217.8 kB / 0.8679 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.0743, allocations: 0.7812 MB / 0.8687 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/0.08281, allocations: 10.43 MB / 0.8788 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.08335, allocations: 0.5356 MB / 0.8794 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.08372, allocations: 347.6 kB / 0.8797 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.08377, allocations: 17 kB / 0.8797 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.0838, allocations: 47.56 kB / 0.8798 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 4.178e-06/0.08381, allocations: 0 / 0.8798 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.008215/0.09202, allocations: 3.935 MB / 0.8836 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.09206, allocations: 64.41 kB / 0.8837 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.09288, allocations: 0.8842 MB / 0.8845 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.09294, allocations: 45.7 kB / 0.8846 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005525/0.09349, allocations: 1.191 MB / 0.8857 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.09374, allocations: 404.5 kB / 0.8861 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.09398, allocations: 239.4 kB / 0.8863 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.09411, allocations: 365.8 kB / 0.8867 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.09431, allocations: 151.9 kB / 0.8868 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.09475, allocations: 0.5527 MB / 0.8874 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.09553, allocations: 0.8407 MB / 0.8882 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.09554, allocations: 4 kB / 0.8882 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001541/0.09708, allocations: 1.15 MB / 0.8893 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.09711, allocations: 12 kB / 0.8893 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.09712, allocations: 12 kB / 0.8893 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.09836, allocations: 0.586 MB / 0.8899 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.09887, allocations: 255.5 kB / 0.8902 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/0.1031, allocations: 4.605 MB / 0.8947 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.1038, allocations: 43.94 kB / 0.8947 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.1038, allocations: 44 kB / 0.8947 GB, free: 2.973 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006976/0.1045, allocations: 196.3 kB / 0.8949 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.1047, allocations: 127.9 kB / 0.8951 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.106, allocations: 0.9919 MB / 0.896 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.106, allocations: 12 kB / 0.896 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.106, allocations: 8 kB / 0.896 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.106, allocations: 8.094 kB / 0.8961 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.1092, allocations: 2.186 MB / 0.8982 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1092, allocations: 4 kB / 0.8982 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.1095, allocations: 119.8 kB / 0.8983 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.1099, allocations: 215.3 kB / 0.8985 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.111, allocations: 0.5579 MB / 0.8991 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.111, allocations: 24 kB / 0.8991 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.1149, allocations: 4.608 MB / 0.9036 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1149, allocations: 4 kB / 0.9036 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.1163, allocations: 1.131 MB / 0.9047 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.1164, allocations: 31.98 kB / 0.9047 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.1167, allocations: 20 kB / 0.9047 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.1169, allocations: 100.7 kB / 0.9048 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.1169, allocations: 24 kB / 0.9049 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004295/0.1174, allocations: 437.9 kB / 0.9053 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1174, allocations: 0 / 0.9053 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00128/0.1186, allocations: 0.6016 MB / 0.9059 GB, free: 7.219 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.1188, allocations: 120.2 kB / 0.906 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.1202, allocations: 1.267 MB / 0.9072 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.784e-05/0.1203, allocations: 28.44 kB / 0.9072 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.1211, allocations: 0.9184 MB / 0.9081 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1222, allocations: 0.5739 MB / 0.9087 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.1426, allocations: 4.797 MB / 0.9134 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.1434, allocations: 0.7579 MB / 0.9141 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006717/0.1441, allocations: 176.5 kB / 0.9143 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/0.1448, allocations: 387.1 kB / 0.9147 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of SimCode: time 1.723e-06/0.1448, allocations: 0 / 0.9147 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of Templates: time 0.07819/0.223, allocations: 30.27 MB / 0.9442 GB, free: 376 kB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1222745310515165]